As a body performs S.H.M., its potential energy U varies with time as indicated in
PE varies from zero to maximum. It is always positive sinusoidal function.