For the photoelectric effect, the maximum kinetic energy of the photoelectrons is plotted against the frequency of the incident photons as shown in figure. The slope of the graph give

Einstein's photoelectric equation:
Comparing with the slope-intercept form of a straight line ():