67.95 Problem number 436

\[ \int \cos ^6(c+d x) \left (a+b \tan ^2(c+d x)\right ) \, dx \]

Optimal antiderivative \[ \frac {\left (5 a +b \right ) x}{16}+\frac {\left (5 a +b \right ) \cos \left (d x +c \right ) \sin \left (d x +c \right )}{16 d}+\frac {\left (5 a +b \right ) \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{24 d}+\frac {\left (a -b \right ) \left (\cos ^{5}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{6 d} \]

command

integrate(cos(d*x+c)^6*(a+b*tan(d*x+c)^2),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} \]_______________________________________________________