144
Practical MATLAB
® Applications for Engineers
Noband=0.2
Enter the numerical value of the fourth band, D=0.1
The fifth color band, with its numerical values are given below:
Brown=0.01
Red=0.001
Orange=0.0001
Yellow=0.00001
Enter the numerical value of the fifth band, E=0.001
********************************************************************
****************************R E S U L T S**************************
********************************************************************
The nominal value of R is 15000 ohms
The range of R (tolerance) is between 13500 and 16500 Ohms
The statistical number of failure (reliability) is 100 for every
100,000 resistors per 1000 hours of use
********************************************************************
The reader is encouraged to run and test the preceding program for the three colorcoded resistors, given in Table 2.3, and for any arbitrary color-coded resistance.
TABLE 2.3
Examples of Color Coded Resistors
Band 1
Band 2
Band 3
Band 4
Band 5
Yellow
Red
Orange
Silver
Yellow
Gray
White
Violet
Gold
Orange
Red
Green
Black
No band
Red
Example 2.5
Solve by hand and by using MATLAB for the energies stored in the capacitors C 1 = 1 F
and C 2 = 2 F shown in the circuit diagram of Figure 2.41 expressed in the following units:
1. Joules
2. British thermal units
3. Foot pound
4. Watt hour
See R.2.36 for unit conversions.
ANALYTICAL Solution
The equivalent DC circuit of Figure 2.41 is redrawn in Figure 2.42
1. V
V
V
R R R
W
C V
C
C
R
C
1
2
2
1
1
10 V
V
ϭ
ϭ
ϭ
ϭ
ϭ
ϭ
( /(
)) *
( * )/
( / ) *
*
2
1
2
10
2 10 5 4
1 2
+
1 1
2
2
2
2
2
1 2 1 10
50
1 2
1 2 2 4
16
ϭ
ϭ
ϭ
ϭ
ϭ
( / ) * *
( / ) *
*
( / ) * *
J
J
2
2
W
C V C
2. W
W
1
2
Btu
Btu
ϭ
ϭ
ϭ
ϭ
50 1055 0 0474
16 1055 0 0152
/
.
/
.
CRC_47760_CH002.indd 144
CRC_47760_CH002.indd 144
7/23/2008 1:38:46 PM
7/23/2008 1:38:46 PM
Practical MATLAB
® Applications for Engineers
Noband=0.2
Enter the numerical value of the fourth band, D=0.1
The fifth color band, with its numerical values are given below:
Brown=0.01
Red=0.001
Orange=0.0001
Yellow=0.00001
Enter the numerical value of the fifth band, E=0.001
********************************************************************
****************************R E S U L T S**************************
********************************************************************
The nominal value of R is 15000 ohms
The range of R (tolerance) is between 13500 and 16500 Ohms
The statistical number of failure (reliability) is 100 for every
100,000 resistors per 1000 hours of use
********************************************************************
The reader is encouraged to run and test the preceding program for the three colorcoded resistors, given in Table 2.3, and for any arbitrary color-coded resistance.
TABLE 2.3
Examples of Color Coded Resistors
Band 1
Band 2
Band 3
Band 4
Band 5
Yellow
Red
Orange
Silver
Yellow
Gray
White
Violet
Gold
Orange
Red
Green
Black
No band
Red
Example 2.5
Solve by hand and by using MATLAB for the energies stored in the capacitors C 1 = 1 F
and C 2 = 2 F shown in the circuit diagram of Figure 2.41 expressed in the following units:
1. Joules
2. British thermal units
3. Foot pound
4. Watt hour
See R.2.36 for unit conversions.
ANALYTICAL Solution
The equivalent DC circuit of Figure 2.41 is redrawn in Figure 2.42
1. V
V
V
R R R
W
C V
C
C
R
C
1
2
2
1
1
10 V
V
ϭ
ϭ
ϭ
ϭ
ϭ
ϭ
( /(
)) *
( * )/
( / ) *
*
2
1
2
10
2 10 5 4
1 2
+
1 1
2
2
2
2
2
1 2 1 10
50
1 2
1 2 2 4
16
ϭ
ϭ
ϭ
ϭ
ϭ
( / ) * *
( / ) *
*
( / ) * *
J
J
2
2
W
C V C
2. W
W
1
2
Btu
Btu
ϭ
ϭ
ϭ
ϭ
50 1055 0 0474
16 1055 0 0152
/
.
/
.
CRC_47760_CH002.indd 144
CRC_47760_CH002.indd 144
7/23/2008 1:38:46 PM
7/23/2008 1:38:46 PM
