Energy in a capacitor and dielectrics

Charging a capacitor stores energy $\frac{1}{2}CV^2$ in the field between its plates, $\frac{1}{2}\varepsilon_0 E^2$ in every cubic metre, and an insulator slid between the plates weakens the field for the same charge, raising $C$ by its dielectric constant $\kappa$.

From Physics 2.