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.07 | |
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.07')
-rwxr-xr-x | 608/CH13/EX13.07/13_07.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/608/CH13/EX13.07/13_07.sce b/608/CH13/EX13.07/13_07.sce new file mode 100755 index 000000000..b2720bb64 --- /dev/null +++ b/608/CH13/EX13.07/13_07.sce @@ -0,0 +1,22 @@ +//Problem 13.07: Use Th´evenin’s theorem to find the current flowing in the 10 ohm resistor for the circuit shown in Figure 13.28(a).
+
+//initializing the variables:
+V = 10; // in volts
+R1 = 2; // in ohms
+R2 = 8; // in ohms
+R3 = 5; // in ohms
+R = 10; // in ohms
+
+//calculation:
+//The 10 ohm resistance branch is short-circuited as shown in Figure 13.28(b).
+//Current I1
+I1 = V/(R1 + R2)
+//p.d. across AB, E
+E = R2*I1
+//the resistance ‘looking-in’ at a break made between A and B is given by
+r = R3 + (R1*R2)/(R2 + R1)
+//The equivalent Th´evenin’s circuit is shown in Figure 13.28(d), the current in the 10 ohm resistance is given by:
+I = E/(r + R)
+
+printf("\n\n Result \n\n")
+printf("\n the current in the 10 ohm resistance is given by %.3f A",I)
\ No newline at end of file |