summaryrefslogtreecommitdiff
path: root/2360/CH3/EX3.9/ex3_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2360/CH3/EX3.9/ex3_9.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/CH3/EX3.9/ex3_9.sce')
-rwxr-xr-x2360/CH3/EX3.9/ex3_9.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2360/CH3/EX3.9/ex3_9.sce b/2360/CH3/EX3.9/ex3_9.sce
new file mode 100755
index 000000000..10faac3c2
--- /dev/null
+++ b/2360/CH3/EX3.9/ex3_9.sce
@@ -0,0 +1,15 @@
+// Exa 3.9
+format('v',7);clc;clear;close;
+// Given data
+Im = 20;//current in mA
+Vm = 200;//voltage in mV
+// Vm = Im*Rm;
+Rm = Vm/Im;//resistance in ohm
+I = 200;// in A
+Im = Im * 10^-3;// in A
+Rsh = (Im*Rm)/(I-Im);//required shunt resistance in ohm
+disp(Rsh,"The required shunt resistance in Ω is");
+V = 500;// in V
+Rs = (V/Im)-Rm;//required multiplier resistance in ohm
+Rs = Rs * 10^-3;// in k ohm
+disp(Rs,"The required multiplier resistance in kΩ is");