Consider a series circuit (Figure 4$)$ consisting of a resistor of $R$ ohms, an inductor of $L$ henries, and a variable voltage source of $V(t)$ volts (time t in seconds). The current through the circuit $I(t)$ (in amperes) satisfes the differential equation
$$
\frac{d I}{d t}+\frac{R}{L} I=\frac{1}{L} V(t)
$$
Solve for $I(t),$ assuming that $R=500 \Omega, L=4 \mathrm{H},$ and $V=$ 20 $\cos (80) \mathrm{V}^{2}$