summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.23/Ex22_23.sce
blob: 5690a8582978f32b906661072af3037a1c673471 (plain)
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)