//clc(); clear; //To calculate the fractional index change n1=1.563; //core refractive index n2=1.498; //cladding refractive index delta=(n1-n2)/n1; printf("fractional index change is %f",delta);