Assume that the capacitor has been charged by the battery. What do you predict will happen to the voltage across the capacitor when the two position switch is flipped so that the battery is removed?