summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.12/Ex17_12.sce
blob: 80eca67555615bca473d880119310a714af187ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
a=52                                   //Degree
b=33                                    //Degree

//Calculation
//
u2=(sin(a*3.14/180.0))/(sin(b*3.14/180.0))
C=1/u2
A=asin(C)*180/3.14

//Result
printf("\n Angle of refrection is %0.1f  Degree",A)