1 2 3 4 5 6 7 8 9 10
clear //Given A=7.5*10**-4 //m**2 I=12 //A //Calculation M=A*I //Result printf("\n Magnitude of the magnetic moment is %0.3f *10**-3 Am**2", M*10**3)