blob: 72ee299eeb96749850eb7d0e15037442fb4ef640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
NA=0.39 //numerical aperture
n1_n2=0.05 //difference in refractive indices
//Calculation
n1n2=NA**2/n1_n2
n2=(n1n2-n1_n2)/2 //Cladding refractive index
n1=n2+n1_n2 //Core refractive index
//Result
|