Analytic calculation of metal surface dipole moments in the step-potential approximation | Synapse