67.21 Problem number 37

\[ \int \sin ^4(e+f x) \left (a+b \tan ^2(e+f x)\right ) \, dx \]

Optimal antiderivative \[ \frac {3 \left (a -5 b \right ) x}{8}-\frac {\left (5 a -9 b \right ) \cos \left (f x +e \right ) \sin \left (f x +e \right )}{8 f}+\frac {\left (a -b \right ) \left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )}{4 f}+\frac {b \tan \left (f x +e \right )}{f} \]

command

integrate(sin(f*x+e)^4*(a+b*tan(f*x+e)^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} \]_______________________________________________________