Show that the line integral ∫ y sin x dx - cos x dy is independent of the path. Evaluate the integral in part (a) along the line segment from (0, 1) to (π, -1).