In the previous question if the switched is opened after the capacitor has been charged