summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.4/Ex6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH6/EX6.4/Ex6_4.sce')
-rw-r--r--3871/CH6/EX6.4/Ex6_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3871/CH6/EX6.4/Ex6_4.sce b/3871/CH6/EX6.4/Ex6_4.sce
new file mode 100644
index 000000000..5d4882412
--- /dev/null
+++ b/3871/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,19 @@
+//===========================================================================
+//chapter 6 example 4
+clc;clear all;
+
+//variable declaration
+Rm = 5; //instrument resistance in Ω
+Im = 15*10^-3; //full scale defelection current in A
+I =1; //current to be measured in A
+V = 10; //voltage to be measured in V
+
+//calculations
+N = I/(Im); //power of shunt
+Rs = Rm/(N-1); //resistance in Ω
+R = (V/(Im))-Rm; //series resistance in Ω
+
+
+//result
+mprintf("resistance to be connected in parallel to enable the instrument to measure current upto 1A is %3.5f Ω",Rs);
+mprintf("\nshunt resistance required for full-scale defelction with 10v is %3.4f Ω",R);