1 2 3 4 5 6 7 8 9 10 11 12 13 14
clear //Given s=20*10**-6 n=30 I=1 //A G=25 //ohm //Calculation Ig=s*n S=Ig*G/(1-Ig) Ra=G*S/(G+S) //Result printf("\n Resistance of ammeter is %0.3f ohm",Ra)