Photons and massive particles
deBroglie relations: E = hf, p = h/λ
But the relationship between wavelength and energy is different for photons and massive particles.
For photons: E = pc, therefore λ = hc/E..
For massive particles: E = p2/(2m), therefore
λ = h/√(2mE).