The work function of emersed electrodes