A 0.50kg block attached to a horizontal spring (k=200Nm−1) is pulled 5.0cm to the right of equilibrium and released from rest at t=0. Taking the displacement law as x(t)=Acos(ωt+ϕ), determine:
(i) the amplitude A,
(ii) the initial phase constant ϕ (in rad).