summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.16/Ex7_16.sce
blob: 1e9b147476e464ac51c2eb0bb87b4a528eacb3f1 (plain)
1
2
3
4
5
6
7
8
//Example 7_16
clc();
clear;
//To calculate the angle of acceptance
n1=1.563
n2=1.498
theta=asin(sqrt(n1^2-n2^2))*180/%pi
printf("The acceptance angle is %.2f degrees",theta )