//Ex1_6 //given //page no 12 clc; clear; disp('Solution (i) is '); l=720; //wavelength in nm n=1.5; //refractive index lm=l/n; disp('nm',lm,'Wavelenth is'); //result disp('Solution (ii) is '); c=3*10^8; //in m/s speed of light u=c/n; disp('m/s',u,'Velocity is'); //result