A body of mass '$m$' performs linear S.H.M. given by the equation $x = P \sin \omega t + Q \sin \left(\omega t + \frac{\pi}{2}\right)$. The total energy of the particle at any instant is
Show Hint
Whenever a displacement equation combines a sine and a cosine function of the same frequency ($P\sin\omega t + Q\cos\omega t$), the two components are orthogonal (at $90^\circ$). You can find the squared amplitude directly using the Pythagorean theorem ($A^2 = P^2 + Q^2$), which lets you write down the energy expression instantly!