1 2 3 4 5 6 7 8 9 10 11 12
clear //Given u=1.33 a=90 //Calculation // ap=atan(u)*180/3.14 A=a-ap //Result printf("\n Angle between the sun and the horizon is %0.0f Degree",A)