# What is int_(pi/2)^pi x^2ln(tanx)?

$\tan x < 0$ on $\frac{\pi}{2} < x < \pi$.
So $\ln \left(\tan x\right)$ is undefined on $\frac{\pi}{2} < x < \pi$.