then the energy stored is equal to :