Strain energy stored in a solid is given as