diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /608/CH13/EX13.09 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '608/CH13/EX13.09')
-rwxr-xr-x | 608/CH13/EX13.09/13_09.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/608/CH13/EX13.09/13_09.sce b/608/CH13/EX13.09/13_09.sce new file mode 100755 index 000000000..3a6528418 --- /dev/null +++ b/608/CH13/EX13.09/13_09.sce @@ -0,0 +1,25 @@ +//Problem 13.09: Use Th´evenin’s theorem to determine the current I flowing in the 4 ohm resistor shown in Figure 13.30(a). Find also the power dissipated in the 4 ohm resistor.
+
+//initializing the variables:
+E1 = 4; // in volts
+E2 = 2; // in volts
+R1 = 2; // in ohms
+R2 = 1; // in ohms
+R3 = 4; // in ohms
+
+//calculation:
+//The 4 ohm resistance branch is short-circuited as shown in Figure 13.30(b).
+//Current I1
+I1 = (E1 - E2)/(R1 + R2)
+//p.d. across AB, E
+E = E1 - I1*R1
+//the resistance ‘looking-in’ at a break made between A and B is given by
+r = R2*R1/(R2 + R1)
+//The equivalent Th´evenin’s circuit is shown in Figure 13.30(d), the current in the 4ohm resistance is given by:
+I = E/(r + R3)
+//Power dissipated in R3
+P3 = R3*I^2
+
+printf("\n\n Result \n\n")
+printf("\n the current in the 4 ohm resistance is given by %.3f A",I)
+printf("\n power disipated in 4 ohm resistor is given by %.3f W",P3)
\ No newline at end of file |