The energy of a proton is given by:
[tex]E=hf[/tex]where h is Planck's constant and f is the frequency. In this case the frequency is given, plugging the values we have:
[tex]\begin{gathered} E=(6.6262\times10^{-34})(3.17\times10^{11}) \\ E=2.10\times10^{-22} \end{gathered}[/tex]Therefore, the energy is:
[tex]E=2.10\times10^{-22}\text{ J}[/tex]