First, we need to find the current in the circuit as a function of time. Since the capacitor is charging, the voltage across the capacitor increases with time. We can write the Kirchhoff's loop equation for the circuit:
$$ε - I(t)R - \frac{1}{C}\int_0^t I(t') dt'
Show more…