When an electron stops, it emits a photon with energy equal to the kinetic energy lost by the electron:
[tex]E=\Delta K[/tex]
The energy of the photon is [tex]E=hf[/tex] where [tex]h=6.63 \cdot 10^{-34} Js[/tex] is the Planck constant and f is the frequency. Therefore, the maximum frequency of the emitted photon occurs when the loss of kinetic energy is maximum.
The maximum loss of kinetic energy of the electron occurs when the electron stops completely, so it loses all its energy:
[tex]\Delta K = 8\cdot 10^4 eV [/tex]
Keeping in mind that [tex]1 eV=1.6 \cdot 10^{-19}J[/tex], we have
[tex]\Delta K = 8 \cdot 10^4 eV \cdot 1.6 \cdot 10^{-19}J/eV = 1.28 \cdot 10^{-14}J[/tex]
And so, this corresponds to the energy of the emitted photon, E. Therefore, we can find the maximum frequency of the emitted photon:
[tex]f= \frac{E}{h} = \frac{1.28 \cdot 10^{-14}J}{6.63 \cdot 10^{-34}Js}=1.93 \cdot 10^{19}Hz [/tex]