Compute along the directed line segment from to .
Parametrize the directed line segment by . Then
Main Page : Complex Variables : Complex Integrals