A wire fixed at the upper end stretches by length by applying a force . The work done in stretching is
Since the force increases linearly from to , the average force applied to the wire is:
The total work done () is the product of this average force and the total extension ():