summaryrefslogtreecommitdiff
path: root/24/CH34/EX34.5/Example34_5.sce
blob: bcdb94d0c64706b9ff3e065dc1becc8cb13c5fc9 (plain)
1
2
3
4
5
6
7
8
9
10
exec('degree_rad.sci', -1)

//Given that
e = 45  //in degrees

//Sample Problem 34-5
printf("**Sample Problem 34-5**\n")
//For extrem case
n = 1/sin(dtor(e))
printf("The index of refraction should be at least %1.1f", n)