summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.9/Ex17_9.sce
blob: 1c964d994c89c308a00c8265559bae158dbbb764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
v=1.5*10**8
c=3.0*10**8

//Calculation
//
a=v/c
C=asin(a)*180/3.14

//Result
printf("\n Value of critical angle is %0.0f  Degree",C)