Think about solving problems:
Because it propagates forward along the X axis, it is assumed that the right traveling wave is:
Where w = 2π/t
When t = 0, the particle moves along the positive direction of the Y axis, so the phase is -π/2.
Then the answer came out.
Attached right traveling wave formula: