summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.16/Ex5_16.sce
blob: 6881a602b0c3fc1a1fd1e9c54be42953c25cac21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//
//
//

//Variable declaration
n1=1.563          //Core refractive index
n2=1.498          //Cladding refractive index

//Calculation
NA=sqrt(n1**2-n2**2)    //numerical aperture
theta0=asin(NA)*180/%pi          //acceptance angle(degrees)

//Result
printf("\n numerical aperture is %0.4f  ",NA)
printf("\n acceptance angle is %0.2f  degrees",theta0)