How to change the voltage of a capacitor