summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.21/Ex5_21.sce
blob: 2b4b75a0e8987ac4a552791db2013254b63610cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//
//

//Variable declaration
n2=1.3      //Cladding refractive index
delta=0.14    //fractional index change

//Calculation
n1=n2/(1-delta)      //Core refractive index

//Result
printf("\n Core refractive index is %0.2f  ",n1)