fundamental theorem of calculus discrete Green's theorem electrostatic potential antiderivative