blob: be1227a894c9f3632852dffceaff3847a2ed8f22 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Variable declaration
n1=1.563; //refractive index of core
n2=1.498; //refractive index of cladding
//Calculation
delta=(n1-n2)/n1; //fractional refractive indices change
//Result
printf('fractional refractive indices change is %0.3f \n',(delta))
|