PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

14 4 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 color-
coded 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 VRRR

WCV

C
CR

C

1
22

11

10 V
V


  



(/( ))* ( * )/

(/ )**

21 2^10 2 10 5^4
12

+

1122

222

12 1 10 50

12 12 2 4 16





(/ )**

(/ )** (/ )**

J

WCV 22 C J

(^) 2.
W
W
1
2
Btu
Btu


50 1055 0 0474
16 1055 0 0152
/.
/.

Free download pdf