RC and RL step response

Close a switch and connect a battery to a resistor and a capacitor. Nothing jumps. The capacitor voltage climbs along a curve, and the shape of that curve is the same every time: an exponential with time constant τ.

+VRC0%t = 0 s = 0.0 τ

Switch closes at t = 0. Dashed lines mark 1τ (63%) and 5τ (99%).

vC(t)i(t)
0τ1τ2τ3τ4τ5τ6τ0%25%50%75%100%1τ · 63%5τ · 99%
V9 V
R1 kΩ
C100 µF
1.0×
Formula
τ=R·C=100 ms
vC(t)=V·(1 − e−t/τ)
i(t)=(V/R)·e−t/τ
Time constant
τ100 ms
VC
0 V
Current
I9 mA
Intuition

At the first instant the capacitor is empty, so all the voltage lands on the resistor and the current is at its maximum. As the capacitor fills, less voltage is left for the resistor and the current drops. After one τ you are 63% of the way. After five τ you are, for all practical purposes, done.

Try this

Double R or double C and watch τ double. Then switch to RL: the roles of voltage and current swap places.