//Example 7_21 clc(); clear; //To calculate the refractive index of core delta=0.14 n2=1.3 n1=n2/(1-delta) printf("The refractive index of core is %.2f",n1)