A parallel plate condenser with a dielectric of dielectric constant $K$ between the plates has a capacity $C$ and is charged to a potential of $V$ volts. The dielectric slab is slowly removed from between the plates and then reinserted. The net work done by the system in this process is