Comparing wavelength and frequency