PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

454 Practical MATLAB® Applications for Engineers


50 V

sw closes at t = 0

R = 2 Ω
I(s)

L = 1 H

C = 0.2 F

FIGURE 4.95
Circuit diagram of P.4.30.


v(t ) = exp(− 2 t)

sw closes at t = 0

R = 1 Ω
I(s)
C = 1 F

FIGURE 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 t

P.4.31 Verify that the current i(t) in the circuit diagram shown in Figure 4.96 is given by


it I s

s
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

Free download pdf