In a photoelectric effect experiment