Search
When the spring is compressed or elongated from its natural state, work done against the restoring force of the spring given by
W = ∫F.dx =∫ kxdx=1/2 kx2
This work done is stored in the spring as elastic potential energy.