Voltage across a capacitor