1 2 3 4 5 6 7 8 9
clear //Given w0=4.4 //Calculation l=12400/w0 //Result printf("\n Wavelength of visible light is %0.0f A",l)