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)