I am trying to solve the following definite integral;
$\int_0^\pi (\sin x )^{\cos x} dx$?
I am trying to solve the following definite integral;
$\int_0^\pi (\sin x )^{\cos x} dx$?
The integral does not exist, because $\sin(\pi-\epsilon) = \epsilon + o(\epsilon^3)$ and $\cos(\pi-\epsilon) = -1 + \epsilon^2/2 + o(\epsilon^3),$ i.e. the integrand has a pole at $x=\pi.$