summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.17/Ex7_17.sce
blob: ff4320907effed51e96bff428aee6d7e9d2f216a (plain)
1
2
3
4
5
6
7
8
//Example 7_17
clc();
clear;
//To calculate the critical angle
n1=1.53
n2=1.42
theta=asin(n2/n1)*180/%pi
printf("The critical angle is %.2f degrees",theta)