summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.4/Ex7_4.sce
blob: ea8ceee256e6463b1156700baa0a6b4370838f4b (plain)
1
2
3
4
5
6
7
8
9
10
//Example 7_4
clc();
clear;
//To calculate the numerical aperture and acceptance angle
n1=1.53
delta=0.0196
NA=n1*sqrt(2*delta)
printf("The numerical aperture is %.3f",NA)
theta=asin(NA)*180/%pi
printf("\nThe acceptance angle is %.2f degrees",theta)