diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2360/CH5/EX5.5/ex5_5.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2360/CH5/EX5.5/ex5_5.sce')
-rwxr-xr-x | 2360/CH5/EX5.5/ex5_5.sce | 22 |
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.
|