1 2 3 4 5 6 7 8 9 10 11 12 13
clear //Given t=1.2*10**-3 //nm M=60 H=40*10**-6 //Calculation // A=t/(M*H) a=asin(A)*180/3.14 //Result printf("\n Angle of the declination is %0.0f degree",a)