In an experiment on the photoelectric effect