summaryrefslogtreecommitdiff
path: root/165/CH3/EX3.1.a/ex3_1_a.sce
blob: 33f9bd39be3d0e4dba93f677e89943ed16b422f1 (plain)
1
2
3
4
5
6
7
//Example 3.1(a)
clc;
Rm=100;            //Internal resistance
Im=1*10^-3;        //Full Scale deflection current
I=100*10^-3;       //Total current
Rsh=Im*Rm/(I-Im);  //Shunt resistance
printf('\nValue of Shunt resistance = %.2f ohm\n',Rsh)