summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.8/Ex5_8.sce
blob: 5b58bd099548a60df0e174df141e3907d0e09e63 (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.3f  ",NA)