Definite integral to Contour integral

56 Views Asked by At

We know that integration from $0$ to $2 \pi$ of some trigonometric function can be converted to contour integration, can we do same for $0$ to $\pi$? Here contour won't be unit circle. If so then how?