clc // // // //Variable declaration lambdaa1=5896 //Wavelength1 lambdaa2=5890 //Wavelength2 //Calculations l=(lambdaa1*lambdaa2)/(2*(lambdaa1-lambdaa2)) //Result printf("\n The Distance by which the mirror moved is %i *10**-10 m",l)