454 Practical MATLAB® Applications for Engineers
50 Vsw closes at t = 0R = 2 Ω
I(s)L = 1 HC = 0.2 FFIGURE 4.95
Circuit diagram of P.4.30.
v(t ) = exp(− 2 t)sw closes at t = 0R = 1 Ω
I(s)
C = 1 FFIGURE 4.96
Circuit diagram of P.4.31.
Write a MATLAB program that returns the following plots:
a. i(t) versus t
b. vR(t) versus t
c. vL(t) versus t
d. vC(t) versus tP.4.31 Verify that the current i(t) in the circuit diagram shown in Figure 4.96 is given by
it I ss
ss()()
£^12
{} (^32)
assuming that vc(0) = 0.
Write a MATLAB program that returns the following plots:
a. i(t) versus t
b. vc(t) versus t
c. vR(t) versus t
P.4.32 Write a MATLAB program that returns the expressions and plots for the circuit
diagram shown in Figure 4.97 for
a. i(t) versus t
b. vR(t) versus t
c. vL(t) versus t