Energy in a Capacitor 

 When a capacitor charges up from the power supply connected to it, an electrostatic field is established which stores energy in the capacitor. The amount of energy in Joules that is stored in this electrostatic field is equal to the energy the voltage supply exerts to maintain the charge on the plates of the capacitor and is given by the formula: