1 2 3 4 5 6 7 8 9 10 11
clear //Goven d=5*10**-3 //m D=1.0 //m b=0.1092*10**-3 //Calculation l=(d*b)/D //Result printf("\n Wavelength of light used is %0.3f A", l*10**10)