summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.11/Ex17_11.sce
blob: ce3e739fa0e730393b7ad7fbaf15dd85e92dd4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
a=4
b=6.0

//Calculation
//
A=a/b
B=atan(A)*180/3.14
ur=1/(sin(B*3.14/180.0))

//Result
printf("\n Refrective index of the liquid is %0.1f  ",ur)