In a photoelectric-effect experiment, the maximum kinetic energy of electrons is 3.1 eV. When the wavelength of the light is increased by 50%, the maximum energy decreases to 1.5 eV. What is the work function of the cathode?