How much work would be required to remove a metal sheet from between the plates of a capacitor (as in Problem $18 a$ ), assuming: $(a)$ the battery remains connected so the voltage remains constant; $(b)$ the battery is disconnected so the charge remains constant?