summaryrefslogtreecommitdiff
path: root/1061/CH2/EX2.9/Ex2_9.sce
blob: eedb4942bd72d83b0c17c275925a1857d021f7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Ex:2.9
clc;
clear;
close;
n1=1.44;// core refractive index
dl=0.02;
n_a=n1*sqrt(2*dl);
n_a=n1*(sqrt(2*dl));// numerical aperture
x_a=(asin(n_a))*180/%pi;// acceptance angle in degree
printf("Numerical aperture = %f",n_a);
printf("\n acceptance angle in degree = %f degree",x_a);