blob: 30cc73a1f83a31c4cb75ca137cc331c344b5d954 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 7_3
clc();
clear;
//To calculate the numerical apperture and angle of acceptance
n1=1.48
delta=0.05
NA=n1*sqrt(2*delta)
printf("Numerical apperture is NA=%.3f\n",NA)
ia=asin(NA)*180/%pi //units in degrees
printf("Angle of acceptance is ia=%.2f Degrees",ia)
|