In an experiment on photoelectric effect