When a 10 volt battery is connected to a resistor and capacitor