potential function of the conservative vector field, three dimensions (KristaKingMath)