A battery is connected to an RC circuit, as shown in Fig. 4.42. The switch is initially open, and the charge on the capacitor is initially zero. If the switch is closed at t = 0, find the charge on the capacitor, and also the current, as functions of time.