If S is the stress and Y is Young's modulus of the material of a wire, the energy stored in the wire per unit volume is :