A heavy weight is suspended from a spring. A person raises the weight till the spring becomes slack. The work done by him is W. The energy stored in the stretched spring was E.