summaryrefslogtreecommitdiff
path: root/3755/CH13/EX13.3/Ex13_3.sce
blob: e075865c76a36b9de9c3617c280b2622f260f9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear
//
//
//

//Variable declaration    
n1=1.36;     //core refractive index
delta=0.025;    //relative difference

//Calculations
NA=n1*sqrt(2*delta);       //numerical aperture
i0=asin(NA);             //acceptance angle(radian)
i0=i0*180/%pi ;         //acceptance angle(degrees)

//Result
printf("\n numerical aperture is %0.3f ",NA)
printf("\n acceptance angle is %0.1f degrees",i0)