summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.2
diff options
context:
space:
mode:
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);
+
+