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

//Variable declaration
n1=1.55          //Core refractive index
n2=1.50          //Cladding refractive index

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

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