# Quantum Physics and the Compton Effect

In quantum physics, you may deal with the Compton effect of X-ray and gamma ray qualities in matter. To calculate these effects, use the following formula, which assumes that the light is represented by a photon with energy E = *h*u and that its momentum is *p* = E/*c*: