blob: 243098dee00f84e26360a3048c015f723bef42bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//Example 3.2
clc;
Rm=100; //Internal resistance
Im=1*10^-3; //Full Scale deflection current
//Case I: For Range 0-10 mA
I1=10*10^-3; //Total current
Rsh1=Im*Rm/(I1-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-10 mA = %.2f ohm\n',Rsh1)
//Case II: For Range 0-20 mA
I2=20*10^-3; //Total current
Rsh2=Im*Rm/(I2-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-20 mA = %.2f ohm\n',Rsh2)
//Case III: For Range 0-50 mA
I3=50*10^-3; //Total current
Rsh3=Im*Rm/(I3-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-50 mA = %.2f ohm\n',Rsh3)
|