The work function of a metal is 2.56 x 10-19J. Calculate the frequency of a…