168
Practical MATLAB
® Applications for Engineers
The script fi le analysis_exam is executed and the results are shown as follows and in
Figure 2.65.
>> analysis _ exam _ 1020
* * * R E S U L T S * * *
***************************
The network time constants are (in sec):
tau1 =
1
tau2 =
0.5000
The maximum currents are:
I1Max =
8.6466
I2Max =
5.7644
I3Max =
2.8822
The magnitude of the maximum voltage across L is:
VLMax =
-156.4762
******************************************
FIGURE 2.65
Transient plots of Example 2.20.
0
−150
−100
−50
0
50
100
0
1
2
Current in amps
Voltage in volts
Current in amps
3
0
8
6
4
2
Current in amps
0
6
4
2
10
1
2
3
time in seconds
4
5
0
1
2
3
time in seconds
4
5
0
1
2
3
4
5
0
1
2
3
4
5
Current i3(t) versus t
Current i1(t) versus t
Current i2(t) versus t
Voltage vL(t) versus t
time in sec
time in sec
Observe that the voltage across the inductor v L (t) at t = 2 s is v L (t = 2) = 156.4762 V when
the applied (source) voltage is V = 100 V. Observe also that at t = 2 s, I 1max = 8.6466
A = I 2max + I 3max = 5.7644 A + 2.8822 A verifying KCL.
CRC_47760_CH002.indd 168
CRC_47760_CH002.indd 168
7/23/2008 1:38:53 PM
7/23/2008 1:38:53 PM
Practical MATLAB
® Applications for Engineers
The script fi le analysis_exam is executed and the results are shown as follows and in
Figure 2.65.
>> analysis _ exam _ 1020
* * * R E S U L T S * * *
***************************
The network time constants are (in sec):
tau1 =
1
tau2 =
0.5000
The maximum currents are:
I1Max =
8.6466
I2Max =
5.7644
I3Max =
2.8822
The magnitude of the maximum voltage across L is:
VLMax =
-156.4762
******************************************
FIGURE 2.65
Transient plots of Example 2.20.
0
−150
−100
−50
0
50
100
0
1
2
Current in amps
Voltage in volts
Current in amps
3
0
8
6
4
2
Current in amps
0
6
4
2
10
1
2
3
time in seconds
4
5
0
1
2
3
time in seconds
4
5
0
1
2
3
4
5
0
1
2
3
4
5
Current i3(t) versus t
Current i1(t) versus t
Current i2(t) versus t
Voltage vL(t) versus t
time in sec
time in sec
Observe that the voltage across the inductor v L (t) at t = 2 s is v L (t = 2) = 156.4762 V when
the applied (source) voltage is V = 100 V. Observe also that at t = 2 s, I 1max = 8.6466
A = I 2max + I 3max = 5.7644 A + 2.8822 A verifying KCL.
CRC_47760_CH002.indd 168
CRC_47760_CH002.indd 168
7/23/2008 1:38:53 PM
7/23/2008 1:38:53 PM
