summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.2
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH6/EX6.2
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3871/CH6/EX6.2')
-rw-r--r--3871/CH6/EX6.2/Ex6_2.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3871/CH6/EX6.2/Ex6_2.sce b/3871/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..ff969b20e
--- /dev/null
+++ b/3871/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,24 @@
+//===========================================================================
+//chapter 6 example 2
+clc;clear all;
+
+//variable declaration
+Rm = 1; //instrument resistance in Ω
+Rse = 4999; //series resistance in Ω
+V = 250; //full-scale deflection voltage in V
+Rs = 4999; //Shunt resistance in Ω(Rs =1/(499))
+I1 = 50; //full-scale defelction current in A
+
+//calculations
+Rs1 = 1/(Rs);
+Im = V/(Rm+Rse); //full-scale deflection current in A
+I = Im*(1+(Rm/Rs1)); //current in A
+N = I1/(Im);
+Rsh = Rm/(N-1); //shunt resistance in Ω
+
+//result
+mprintf("full-scale defelction current in Im = %3.2f A",Im);
+mprintf("\ncurrent range of instrument when used as an ammeter with coil connected across shunt is I = %3.2f A",I);
+mprintf("\nShunt resistance for the instrument to give a full-scale deflection of 50A is Rsh = %3.4f Ω",Rsh);
+
+