clc // // // //Variable declaration d=0.3*10**-2 //slit separation D=1 //Distance from Screen Beta=0.0195*10**-2 //Wavelength //Calculations lambdaa=(Beta*d*10**10)/D //Result printf("\n The wavelength is %i *10**-10 m",lambdaa)