summaryrefslogtreecommitdiff
path: root/608/CH13/EX13.18/13_18.sce
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.18/13_18.sce
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.18/13_18.sce')
-rwxr-xr-x608/CH13/EX13.18/13_18.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/608/CH13/EX13.18/13_18.sce b/608/CH13/EX13.18/13_18.sce
new file mode 100755
index 000000000..69fd04087
--- /dev/null
+++ b/608/CH13/EX13.18/13_18.sce
@@ -0,0 +1,28 @@
+//Problem 13.18: (a) Convert the circuit to the left of terminals AB in Figure 13.45(a) to an equivalent Th´evenin circuit by initially converting to a Norton equivalent circuit. (b) Determine the current flowing in the 1.8 ohm resistor.
+
+//initializing the variables:
+E1 = 12; // in volts
+E2 = 24; // in volts
+R1 = 3; // in ohms
+R2 = 2; // in ohms
+R3 = 1.8; // in ohms
+
+//calculation:
+//For the branch containing the V1 source, converting to a Norton equivalent network gives
+Isc1 = E1/R1
+r1 = R1
+//For the branch containing the V2 source, converting to a Norton equivalent network gives
+Isc2 = E2/R2
+r2 = R2
+//Thus the network of Figure 13.46(a) converts to Figure 13.46(b).
+//total short-circuit current
+Isct = Isc1 + Isc2
+//the resistance is
+z = r1*r2/(r1 + r2)
+//Both of the Norton equivalent networks shown in Figure 13.46(c) may be converted to Th´evenin equivalent circuits. The open-circuit voltage across CD is
+Vcd = Isct*z
+//the current I flowing in a 1.8 ohm resistance connected between A and B is given by:
+I = Vcd/(z + R3)
+
+printf("\n\n Result \n\n")
+printf("\n the current I flowing in a 1.8 ohm resistance connected between A and B is given by %.2f A",I) \ No newline at end of file