The minimum energy required for the emission of photoelectrons from a metal is called the work function (W) of that metal, and the corresponding wavelength is the threshold wavelength. ∴W=λhc ⇒λ=Whc
Given, h=6.6×10−34J−s, C=3×108m/sW=2eV =2×1.6×10−19J ∴λ=2×1.6×10−196.6×10−34×3×108 =620×10−9m ⇒λ=620nm