To implement a surface of constant potential energy quantitatively, let the height of the water be h ( r ) : then the potential energy per unit mass contributed by gravity is g h ( r ) and the total potential energy per unit mass on the surface is