When a metallic surface is illuminated by a light of frequency 8×1014 Hz, photoelectron of maximum energy 0.5 eV is emitted. When the same surface is illuminated by light of frequency 12×1014Hz, photoelectron of maximum energy 2 eV is emitted. The work function is