The formula for the voltage in a capacitor