A charged parallel plate capacitor of distance (d) has U0 energy. A slab of dielectric constant (K) and thickness (d) is then introduced between the plates of the capacitor. The new energy of the system is given by:
When a dielectric slab is inserted between the the plates of parallel plates capacitor, capacitance increases by a factor K (dielectric constant of dielectrics).
Since, the energy of the system is U0 (U0=12CV2) so the new energy will become KU0