Using a line integral to find the work done by a vector field example