In the photoelectric effect, the energy given by the incoming photon is used partially to extract the electron from the metal (work function) and the rest is converted into kinetic energy of the electron:
[tex]hf= \phi + K[/tex]
where
hf is the energy of the photon, with h being the Planck constant and f the frequency of the photon
[tex]\phi[/tex] is the work function
K is the kinetic energy of the electron
When K=0, we have the minimum energy required to extract the electron from the metal, so the equation becomes
[tex]hf= \phi[/tex] (1)
If we convert the work function of gold into Joules:
[tex]\phi=4.8 eV = 7.69 \cdot 10^{-19}J[/tex]
We can re-arrange eq.(1) to find the minimum energy of the photon:
[tex]f= \frac{\phi}{h}= \frac{7.69 \cdot 10^{-19}J}{6.6 \cdot 10^{-34} Js} =1.17 \cdot 10^{15} Hz [/tex]