blob: e89db0a035dd1017947d50566428ef013a108e2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//
//
//
//Variable declaration
n1=1.45 //Core refractive index
n2=1.44 //Cladding refractive index
//Calculation
delta=(n1-n2)/n1 //fractional index change
//Result
printf("\n fractional index change is %0.4f *10**-3",delta*10**3)
|