Consider a metal exposed to light of wavelength 600 nm. The maximum energy of the electrons doubles when light of wavelength 400 nm is used. Find the work function in eV.