electromagnetic radiation in the form of waves have both a wavelength and a frequency