How is planck's constant used in the photoelectric effect?
The energy of an individual photon is given by
If the photon's energy exceeds the binding energy of a surface electron (typically in a metal), then the electron can be ejected from the surface. Any energy in excess of the binding energy appears as kinetic energy of the ejected electron. This is the photoelectric effect.