Light of wavelength λ falls on a metal having work function hcλ0. Photoelectric effect will take place only if
λ≤λ0
So photo electric effect will only be shown if the energy of each photon is more than the work function.
Wavelength of light used is λ
So energy of each photon ishcλ
Now this should be greater than work function
hcλ≥hcλ0
⇒λ≤λ0