\[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{5/2}}{a+a \sin (e+f x)} \, dx \]
Optimal antiderivative \[ -\frac {\left (5 A -7 B \right ) c \cos \left (f x +e \right ) \left (c -c \sin \left (f x +e \right )\right )^{\frac {3}{2}}}{5 a f}-\frac {\left (A -B \right ) \sec \left (f x +e \right ) \left (c -c \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{a c f}-\frac {32 \left (5 A -7 B \right ) c^{3} \cos \left (f x +e \right )}{15 a f \sqrt {c -c \sin \left (f x +e \right )}}-\frac {8 \left (5 A -7 B \right ) c^{2} \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}}{15 a f} \]
command
integrate((A+B*sin(f*x+e))*(c-c*sin(f*x+e))^(5/2)/(a+a*sin(f*x+e)),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} \]_______________________________________________________