summaryrefslogtreecommitdiff
path: root/165/CH3/EX3.1.b/ex3_1_b.sce
blob: cdb3fae67251f3b43422a1bae08632b8ca8b39d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 3.1(b)
clc;
Rm=500;            //Internal resistance
Im=100*10^-6;      //Full Scale deflection current
I=100*10^-3;       //Total current
//The shunt can also be determined using
//multiplying factor(n) that relates total current
//and Full Scale deflection current as n=I/Im
n=I/Im;            //Multiplying factor
Rsh=Rm/(n-1);      //Shunt resistance
printf('\nValue of Shunt resistance = %.2f ohm\n',Rsh)