66.7 Problem number 52

\[ \int \csc ^2(a+b x) \sin (2 a+2 b x) \, dx \]

Optimal antiderivative \[ \frac {2 \ln \left (\sin \left (b x +a \right )\right )}{b} \]

command

integrate(csc(b*x+a)**2*sin(2*b*x+2*a),x)

Sympy 1.10.1 under Python 3.10.4 output

\[ \text {output too large to display} \]

Sympy 1.8 under Python 3.8.8 output \[ \text {Timed out} \]_____________________________________________________