From the Einstein's photoelectric equation Energy of photon = Kinetic energy of photoelectrons + Work function ⇒ Kinetic energy = Energy of Photon − Work Function Let ϕ0 be the work function of metal and v1 and v2 be the velocity of photoelectrons. Using Einstein's photoelectric equation we have