summaryrefslogtreecommitdiff
path: root/3669/CH11/EX11.4/4.sce
blob: b318597312da4117baf0d1bb22674db69322e6b1 (plain)
1
2
3
4
5
6
7
8
9
10

//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('numerical aperture is %0.3f     \n',(NA))