 A bias voltage between tip and sample is applied by an external battery forming a capacitor, "C", between the two.The capacitance of the system depends on the geometry of the tip and sample.The total energy stored in that capacitor is "U = ½ C⋅ΔV2".