A body performing simple harmonic motion along a straight line has angular frequency 20rads−1. At t=0, its displacement is +3.0cm and its velocity is −40cms−1. Taking the equation of motion as x(t)=Acos(ωt+ϕ), calculate:
(i) the amplitude A,
(ii) the initial phase ϕ (in radians, −π<ϕ≤π).