summaryrefslogtreecommitdiff
path: root/3665/CH13/EX13.1/Ex13_1.sce
blob: a37b1124dc784040806020da01ba468781643882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc//
//
//

//Variable declaration
n1=1.55;     //refractive index of core
n2=1.50;     //refractive index of cladding

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

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