summaryrefslogtreecommitdiff
path: root/608/CH13/EX13.08
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH13/EX13.08
downloadScilab-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.08')
-rwxr-xr-x608/CH13/EX13.08/13_08.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/608/CH13/EX13.08/13_08.sce b/608/CH13/EX13.08/13_08.sce
new file mode 100755
index 000000000..7ef395eac
--- /dev/null
+++ b/608/CH13/EX13.08/13_08.sce
@@ -0,0 +1,22 @@
+//Problem 13.08: For the network shown in Figure 13.29(a) determine the current in the 0.8 ohm resistor using Th´evenin’s theorem.
+
+//initializing the variables:
+V = 12; // in volts
+R1 = 5; // in ohms
+R2 = 1; // in ohms
+R3 = 4; // in ohms
+R = 0.8; // in ohms
+
+//calculation:
+//The 0.8 ohm resistance branch is short-circuited as shown in Figure 13.29(b).
+//Current I1
+I1 = V/(R1 + R2 + R3)
+//p.d. across AB, E
+E = R3*I1
+//the resistance ‘looking-in’ at a break made between A and B is given by
+r = R3*(R1 + R2)/(R2 + R1 + R3)
+//The equivalent Th´evenin’s circuit is shown in Figure 13.29(d), the current in the 0.8 ohm resistance is given by:
+I = E/(r + R)
+
+printf("\n\n Result \n\n")
+printf("\n the current in the 0.8 ohm resistance is given by %.1f A",I) \ No newline at end of file