A parallel-plate capacitor that is completely filled with a dielectric slab of dielectric constant 2 has a capacitance of 10μF. It is connected to a 100V battery and stays connected. The slab is now pulled out slowly, so that in the end the capacitor is filled with air. The work done by the external agent in pulling out the slab is