The work function of the metal is defined as the minimum amount of energy falling on the metal so that the photo electrons just ejects the surface of metal.
where, h is the Plank's constant and c be the speed of light
h = 6.634 x 10^-34 Js
c = 3 x 10^8 m/s
Wo = 2.295 eV
Thus, the work function of this metal is 2.295 eV.