The motion of a mass on a spring, with spring constant K is as shown in figure.
The equation of motion is given by x(t) = A sin ωt + B cos ωt with ω = \(\sqrt{\cfrac{K}m}\)
Suppose that at time t = 0, the position of mass is x(0) and velocity v (0), then its displacement can also be represented as x(t) = Ccos(ωt – ɸ), where C and ɸ are :