A brief quantitative approach to determine the wavelength of photons as ultrarelativistic quantum particles