From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3556/CH4/EX4.18/Ex4_18.sce | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 3556/CH4/EX4.18/Ex4_18.sce (limited to '3556/CH4/EX4.18') 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) + + + -- cgit