63.5 Problem number 34

\[ \int \sin (c+d x) (a+b \tan (c+d x))^3 \, dx \]

Optimal antiderivative \[ \frac {3 a^{2} b \arctanh \left (\sin \left (d x +c \right )\right )}{d}-\frac {3 b^{3} \arctanh \left (\sin \left (d x +c \right )\right )}{2 d}-\frac {a^{3} \cos \left (d x +c \right )}{d}+\frac {3 a \,b^{2} \cos \left (d x +c \right )}{d}+\frac {3 a \,b^{2} \sec \left (d x +c \right )}{d}-\frac {3 a^{2} b \sin \left (d x +c \right )}{d}+\frac {3 b^{3} \sin \left (d x +c \right )}{2 d}+\frac {b^{3} \sin \left (d x +c \right ) \left (\tan ^{2}\left (d x +c \right )\right )}{2 d} \]

command

integrate(sin(d*x+c)*(a+b*tan(d*x+c))^3,x, algorithm="giac")

Giac 1.9.0-11 via sagemath 9.6 output

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

Giac 1.7.0 via sagemath 9.3 output \[ \text {Exception raised: NotImplementedError} \]_______________________________________________________