blob: c3a0387dac56389949b89323f6b4cfefbe519a3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Initialisation
fsd1=50*10**-3 //full scale deflection of ammeter in Ampere
fsd2=1*10**-3 //full scale deflection of moving coil meter in Ampere
Rm=25 //resistance of moving coil meter in Ohms
//Calculation
Rsm=fsd1*fsd2**-1 //sensitivity factor
Rsh=Rm*49**-1 //shunt resistor
//Result
printf("\n Therefore, Resistor = %d mOhm\n",round(Rsh*10**3))
|