A parallel-plate capacitor is charged with a battery to a
charge Q0, as shown in Figure 26.20a. The battery is then
removed, and a slab of material that has a dielectric
constant 1 is inserted between the plates, as shown in Figure
26.20b. Find the energy stored in the capacitor before and
after the dielectric is inserted.