Figure 8 shows a circuit consisting of a resistor of $R$ ohms, a capacitor of $C$ farads, and a battery of voltage $V .$ When the circuit is completed, the amount of charge $q(t)$ (in coulombs) on the plates of the capacitor varies according to the differential equation $(t$ in seconds).
$$R \frac{d q}{d t}+\frac{1}{C} q=V$$
where $R, C,$ and $V$ are constants.
(a) Solve for $q(t),$ assuming that $q(0)=0$.
(b) Show that
$$\lim _{t \rightarrow \infty} q(t)=C V.$$
(c) Show that the capacitor charges to approximately 63$\%$ of its final value $C V$ after a time period of length $\tau=R C(\tau$ is called the time constant of the capacitor).