A metallic wire of length L metres extends by l metres when stretched by suspending a weight Mg to it. The mechanical energy stored in the wire is
Elastic potential energy stored in wire U=12Fx=Mgl2.