//Variable declaration n1=1.45; //refractive index of core n2=1.44; //refractive index of cladding //Calculation delta=(n1-n2)/n1; //fractional refractive indices change //Result printf('fractional refractive indices change is %0.3f *10**-3 \n',(delta*10**3))