If the displacement equation of a particle be represented by y=AsinPT+BcosPT, the particle executes
A uniform circular motion
A uniform elliptical motion
A S.H.M.
A rectilinear motion
y=AsinPT+BcosPT
Let A=rcosθ, B=rsinθ⇒y=rsin(PT+θ) which is the equation of SHM.