Let V be the potential across the capacitor when it is fully charged, then, energy stored in the capacitor will be =
1
2
CV2 (where C= capacitance of capacitor ) When the capacitor is fully discharged, loss of energy is in the form of heat =ΔH As the system is thermally isolated so, ΔH=