summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.1/Ex17_1.sce
blob: d47a674dffe5672ffc53bb529972c0fa362d246e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
u1=1.50
u2=1.33

//Calculation
//
sinr=u1*sin(50*3.14/180.0)/u2
a=asin(sinr)*180/3.14

//Result
printf("\n Angle of refraction is %0.1f  degree",a)