An elastic material with Young's modulus Y is subjected to a tensile stress S, elastic energy stored per unit volume of the material is
YS2
S2Y
S22Y
Strain = Stress Y=SY
Now, energy stored per unit volume =12× stress × strain
=12×S×SY=S22Y