A certain metal when irradiated by a light of frequency ν=3.2×1016 Hz emits photoelectrons with twice the kinetic energy of photoelectrons that are emitted when the same metal is irradiated by a light of frequency ν=2.0×1016 Hz. Calculate the work function of the metal.