summaryrefslogtreecommitdiff
path: root/2360/CH5/EX5.5/ex5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2360/CH5/EX5.5/ex5_5.sce')
-rwxr-xr-x2360/CH5/EX5.5/ex5_5.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2360/CH5/EX5.5/ex5_5.sce b/2360/CH5/EX5.5/ex5_5.sce
new file mode 100755
index 000000000..ca72f9d64
--- /dev/null
+++ b/2360/CH5/EX5.5/ex5_5.sce
@@ -0,0 +1,22 @@
+// Exa 5.5
+format('v',7);clc;clear;close;
+// Given data'
+R1 = 100;// in ohm
+R2 = 1000;// in ohm
+R3 = 200;// in ohm
+R4 = 2000;// in ohm
+Rg = 200;// in ohm
+S = 12;// in mm/µA
+R = 5;// in ohm
+R4 = R4 + R;// in ohm
+E = 10;// in V
+// By Thevenin's equivalent
+V_TH = E*( (R3/(R1+R3)) - (R4/(R2+R4)) );// in V
+Req = ((R1*R3)/(R1+R3)) + ((R2*R4)/(R2+R4));// in ohm
+Ig = abs(V_TH)/(Req+Rg);// in A
+Ig = Ig * 10^6;// in µA
+// S =D/I;
+D = S*Ig;//deflection of the galvanomter in mm
+disp(D,"The deflection of the galvanomter in mm is");
+
+// Note:In the book the calculated value of V_TH is not correct. Correct value of V_TH is -5.546312 mV not -5.213 mV, So there is some difference between coding and the answer of the book.