Then the function period t is obtained from the image. According to T=2π/w, w can be obtained. For example, t = 2π, then W= 1.
Then find the highest point and substitute it into the function to find φ. Note: It is best not to substitute the equilibrium point, otherwise an error may occur.
Sorry, I can't draw for some reason.