/ 2 \
| 1 cos (x) 2*log(x) |
-|1 + ---------------- + ------- + -----------------|
| 2 / 2 \ 2 2|
| x *\1 + log (x)/ sin (x) 2 / 2 \ |
\ x *\1 + log (x)/ /
$$- (1 + \frac{\cos^{2}{\left(x \right)}}{\sin^{2}{\left(x \right)}} + \frac{1}{x^{2} \left(\log{\left(x \right)}^{2} + 1\right)} + \frac{2 \log{\left(x \right)}}{x^{2} \left(\log{\left(x \right)}^{2} + 1\right)^{2}})$$
/ 3 2 \
| 1 cos (x) cos(x) 1 3*log(x) 4*log (x) |
2*|---------------- + ------- + ------ - ----------------- + ----------------- + -----------------|
| 3 / 2 \ 3 sin(x) 2 2 3|
|x *\1 + log (x)/ sin (x) 3 / 2 \ 3 / 2 \ 3 / 2 \ |
\ x *\1 + log (x)/ x *\1 + log (x)/ x *\1 + log (x)/ /
$$2 \left(\frac{\cos{\left(x \right)}}{\sin{\left(x \right)}} + \frac{\cos^{3}{\left(x \right)}}{\sin^{3}{\left(x \right)}} + \frac{1}{x^{3} \left(\log{\left(x \right)}^{2} + 1\right)} + \frac{3 \log{\left(x \right)}}{x^{3} \left(\log{\left(x \right)}^{2} + 1\right)^{2}} - \frac{1}{x^{3} \left(\log{\left(x \right)}^{2} + 1\right)^{2}} + \frac{4 \log{\left(x \right)}^{2}}{x^{3} \left(\log{\left(x \right)}^{2} + 1\right)^{3}}\right)$$