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