62.9 Problem number 541

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

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

command

integrate(cos(d*x+c)^3*(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 {Timed out} \]_______________________________________________________