An air filled capacitor with a dielectric slab inside it is completely charged upto energy U and disconnected from battery. If the dielectric slab between the plates is removed slowly by an external agent, the work done by external agent is 3U. The dielectric constant of the slab is:
(Assume the process to be ideal & no energy is lost)