 The work done by the battery to maintain a constant voltage, "ΔV", between the capacitor plates (tip and sample) is "-2U".By definition, taking the negative gradient of the total energy "Utotal = -U" gives the force.The "z" component of the force (the force along the axis connecting the tip and sample) is thus