summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.12/Ex7_12.sce
blob: 5123dfcfc5f9c89ef4769a8e1de0627a5f74374e (plain)
1
2
3
4
5
6
7
8
9
10
//Example 7_12
clc();
clear;
//To calculate the numerical aperature and acceptance angle
n1=1.48
n2=1.45
NA=sqrt(n1^2-n2^2)
printf("The numerical aperature is %.4f",NA)
theta=asin(NA)*180/%pi
printf("\nThe acceptance angle is %.2f degrees",theta)