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