if the switch is opened after the capacitor has been charged