When a metal surface is irradiated, photoelectrons may be ejected from the metal. The kinetic…