summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.2/Ex5_2.sce
blob: 39d1dc6f3805c92122169e801b823b16db078d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//
//

//Variable declaration
n1=1.46          //Core refractive index
delta=0.05       //relative refractive index difference

//Calculation
NA=n1*sqrt(2*delta)    //numerical aperture

//Result
printf("\n numerical aperture is %0.2f  ",NA)