Repeat Problem 7-20 using MATLAB to plot the waveforms

Problem 7−20
The switch in Figure P7−20 has been open long enough for iL(0) to reach 0 A and is closed at t = 0.
(a) If vS(t) = 10 u(t) V, find vL(t) for t ≥ 0.
(b) If vS(t) = 10 cos(100t) V, find vL(t) for t ≥ 0.
(c) If vS(t) = 10 e−100t V, find vL(t) for t ≥ 0.
Figure P7−20

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.