summaryrefslogtreecommitdiff
path: root/2360/CH5/EX5.7/ex5_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2360/CH5/EX5.7/ex5_7.sce
downloadScilab-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.7/ex5_7.sce')
-rwxr-xr-x2360/CH5/EX5.7/ex5_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2360/CH5/EX5.7/ex5_7.sce b/2360/CH5/EX5.7/ex5_7.sce
new file mode 100755
index 000000000..675410c07
--- /dev/null
+++ b/2360/CH5/EX5.7/ex5_7.sce
@@ -0,0 +1,13 @@
+// Exa 5.7
+format('v',7);clc;clear;close;
+// Given data
+R = 500;// in ohm
+del_r = 20;// in ohm
+E = 10;// in V
+Rg = 125;// in ohm
+V_TH = (E*del_r)/(4*R);// in V
+Req = R;// in ohm
+// The current through the galvanometer
+Ig = V_TH/(Req+Rg);// in A
+Ig = Ig * 10^6;// in µA
+disp(Ig,"The current through the galvanometer in µA is");