/ 2 \
| 4*x |
2*|-1 + ------|*cos(3*x)
| 2|
\ 2 + x / 12*x*sin(3*x)
-9*cos(3*x) + ------------------------ + -------------
2 2
2 + x 2 + x
------------------------------------------------------
2
2 + x
$$\frac{\frac{12 x \sin{\left(3 x \right)}}{x^{2} + 2} - 9 \cos{\left(3 x \right)} + \frac{2 \left(\frac{4 x^{2}}{x^{2} + 2} - 1\right) \cos{\left(3 x \right)}}{x^{2} + 2}}{x^{2} + 2}$$
/ / 2 \ / 2 \ \
| | 4*x | | 2*x | |
| 6*|-1 + ------|*sin(3*x) 8*x*|-1 + ------|*cos(3*x)|
| | 2| | 2| |
| \ 2 + x / 18*x*cos(3*x) \ 2 + x / |
3*|9*sin(3*x) - ------------------------ + ------------- - --------------------------|
| 2 2 2 |
| 2 + x 2 + x / 2\ |
\ \2 + x / /
--------------------------------------------------------------------------------------
2
2 + x
$$\frac{3 \left(\frac{18 x \cos{\left(3 x \right)}}{x^{2} + 2} - \frac{8 x \left(\frac{2 x^{2}}{x^{2} + 2} - 1\right) \cos{\left(3 x \right)}}{\left(x^{2} + 2\right)^{2}} + 9 \sin{\left(3 x \right)} - \frac{6 \left(\frac{4 x^{2}}{x^{2} + 2} - 1\right) \sin{\left(3 x \right)}}{x^{2} + 2}\right)}{x^{2} + 2}$$