summaryrefslogtreecommitdiff
path: root/3756/CH3/EX3.4/Ex3_4.sce
blob: 480d09cf5d20090246a1a7a776387317cfa2477e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//
//
//

//Variable declaration
muwater=0.8660  //Refractive index of water

//Calculations
ip=(180/%pi)*(atan(muwater))
r=90-ip

//Result
printf("\n The Angle of Refraction is %2.2f Degrees",r)