Derive an expression for the energy stored in parallel plate capacitor with air as the medium between its plates . Air is now re placed by dielectric medium of dielectric constants k. How does it charges the total energy of the capacitor if
a ) the capacitor remains connected to the same battery .
b ) the capacitor is disconnected from the battery.