summaryrefslogtreecommitdiff
path: root/3556/CH4/EX4.18
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH4/EX4.18')
-rw-r--r--3556/CH4/EX4.18/Ex4_18.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/3556/CH4/EX4.18/Ex4_18.sce b/3556/CH4/EX4.18/Ex4_18.sce
new file mode 100644
index 000000000..2142dd443
--- /dev/null
+++ b/3556/CH4/EX4.18/Ex4_18.sce
@@ -0,0 +1,39 @@
+clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 4 : Circuit Theorems
+// Example 4 - 18
+
+clear; clc; close;
+//
+// Given data
+Vs = 220.0000;
+R1 = 1000.0000;
+R3 = 3000.0000;
+R4 = 400.0000;
+R6 = 600.0000;
+Rm = 40.0000;
+//
+// Calculations Rp1
+Rp1 = (R1*R3)/(R1 + R3);
+// Calculations Rp2
+Rp2 = (R4*R6)/(R4 + R6);
+// Calculations Rs1
+Rth = Rp1 + Rp2
+// Calculation Vth
+V1 = (R1/(R1 + R3))*Vs;
+V2 = (R6/(R4+R6))*Vs;
+Vth = V1 - V2;
+// Calculation IG
+IG = Vth/(Rth + Rm)
+//
+// Display the result
+disp("Example 4-18 Solution : ");
+printf(" \n IG = Current Through The Galvanometer = %.3f mA",IG*1000)
+
+
+