This is meant for the A-level topic of Circuits, for which students have to describe and represent the variation with time, of quantities like current, charge and potential difference, for a capacitor that is charging or discharging through a resistor, using equations of the form $x = x_0e^{-\frac{t}{\tau}}$ or $x = x_0(1 – e^{-\frac{t}{\tau}})$, where $\tau = RC$ is the time constant.
This GeoGebra interactive by Dave Nero is well-designed. It illustrates how the charge, voltage, and current in an RC circuit change over time. You can adjust the resistance, capacitance, and supply voltage using the sliders provided. The two circuit switches can be opened or closed by selecting the check boxes. A drop-down menu allows you to choose which quantity to display on the graph, and pressing the play button in the lower left corner starts the time-dependent plot.
When a capacitor is connected in series with a resistor, the changes in current, charge and potential difference follow an exponential pattern, controlled by the time constant $\tau = RC$.
During charging, the capacitor begins with no charge, so the batteryâs full potential difference appears across the resistor, giving a maximum initial current. As charge accumulates on the plates, the potential difference across the capacitor rises. This reduces the potential difference across the resistor, causing the current to decrease. The charge on the capacitor and its potential difference both increase with time according to the equation $x = x_0 \left(1 – e^{-t/\tau}\right)$, approaching their maximum values asymptotically. Meanwhile, the current decreases exponentially with time, following $x = x_0 e^{-t/\tau}$.
During discharging, the capacitor starts with an initial charge and potential difference. Once connected across the resistor, this stored energy drives a current in the circuit. As the charge leaves the plates, the potential difference across the capacitor falls. Both charge and potential difference decrease exponentially with time according to $x = x_0 e^{-t/\tau}$, and the current also decays exponentially to zero, reversing direction compared to charging.
The time constant $\tau = RC$ sets the rate of change. After one time constant, a charging capacitor reaches about 63% of its final charge, or a discharging capacitor falls to about 37% of its initial charge. After about five time constants, the process is practically complete.

