Compute the line integral of the vector field over the path for