# How do you integrate int x^2 csc x dx  using integration by parts?

$\int {x}^{2} \csc x \mathrm{dx} = 2 i x \left(L {i}_{2} \left(- {e}^{i x}\right) - L {i}_{2} \left({e}^{i x}\right)\right) + 2 \left(L {i}_{3} \left({e}^{i x}\right) - L {i}_{3} \left({e}^{- i x}\right)\right) + {x}^{2} \left(\ln \left(1 - {e}^{i} x\right) - \ln \left(1 + {e}^{i x}\right)\right)$
$L {i}_{n} \left(x\right)$ is the polylogarithm function (No. I cannot explain that.)