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