1 2 3 4 5 6 7 8 9 10 11
clear //Given N=500 a=1.4*10**-4 //Wb l=2.5 //A //Calculation L=(N*a)/l //Result printf("\n Inductance of the coil is %0.3f mH", L*10**3)