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