summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.2/Ex6_2.sce
blob: ff969b20e442c4eaf07f57536cf21200842ca257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);