summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.18/Ex7_18.sce
blob: 983afd8b52fe49dc2fc762806337335aa5bedd2a (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 7_18
clc();
clear;
//To find the numerical aperature and acceptance angle
n1=1.6
n2=1.4
n0=1.33
NA=sqrt(n1^2-n2^2)/n0
printf("The numerical aperature is %.3f",NA)
theta=asin(NA)*180/%pi
printf("\nThe acceptance angle is %.2f degrees",theta)