calculate the kinetic energy and the velocity of the ejected photoelectron.