summaryrefslogtreecommitdiff
path: root/3556/CH4/EX4.18
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3556/CH4/EX4.18
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
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)
+
+
+