summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.26/Ex22_26.sce
blob: 2af0baabd4b733707850753caacb24c8cce0bf6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
ap=60                     //Degree
u=3

//Calculation
//
a=1/sqrt(u)
C=asin(a)*180/3.14

//Result
printf("\n Critical angle for this medium is %0.2f  Degree",C)