The total energy of a particle executing S.H.M. is proportional to
Total energy of a particle executing Simple harmonic motionTotal energy of a particle executing Simple harmonic motion
E=12mw2a2 ⇒ E ∝ a2