The minimum energy required for the emission of photoelectron from a metal is called the work function of that metal. W=hv=λhc
Where v is frequency, c is speed of light, λ is wavelength.
Given, W=2eV =2×1.6×10−19J h=6.6×10−34J−s, c=3×108m/s ⇒λ=Whc =2×1.6×10−196.6×10−34×3×108 =620×10−9m=620nm
Note: If wavelength of incident light greater than 620nm no photoelectrons are emitted.