blob: 6dd8e205c87a92070ebe324d09508259dfd680e8 (
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.4f ",NA)
|