A body oscillates along a straight line according to x(t)=Acos(ωt+ϕ) with ω=5rad s−1. At t=0, its displacement is 2.0cm and its velocity is +6.0cm s−1.
(a) Determine the amplitude A of the motion.
(b) Calculate its acceleration when the displacement is x=−1.0cm.