A particle of mass m oscillates with simple harmonic motion between points and , the equilibrium position being O. Its potential energy is plotted. It will be as given below in the graph
Potential energy of particle performing SHM is given by: i.e. it varies parabolically such that at mean position it becomes zero and maximum at extreme position.