A nickel crystal is used as a diffraction grating for $\mathrm{x}-$ rays. Then the same crystal is used to diffract electrons. If the two diffraction patterns are identical, and the energy of each $x$ -ray photon is $E=20.0 \mathrm{keV}$, what is the kinetic energy of each electron?