//Example 1.27 // refractive index clc; clear; //given data : n=150;//no. of frnges shifted w=4D-7;// wavelength of light used l=.2;//length of tube in m u=n*w/(2*l) +1 disp(u,"refractive index of medium ")