\[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{17/2}} \, dx \]
Optimal antiderivative \[ \frac {\left (A +B \right ) \cos \left (f x +e \right ) \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{16 f \left (c -c \sin \left (f x +e \right )\right )^{\frac {17}{2}}}+\frac {\left (A -3 B \right ) \cos \left (f x +e \right ) \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{56 c f \left (c -c \sin \left (f x +e \right )\right )^{\frac {15}{2}}}+\frac {\left (A -3 B \right ) \cos \left (f x +e \right ) \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{224 c^{2} f \left (c -c \sin \left (f x +e \right )\right )^{\frac {13}{2}}}+\frac {\left (A -3 B \right ) \cos \left (f x +e \right ) \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{1120 c^{3} f \left (c -c \sin \left (f x +e \right )\right )^{\frac {11}{2}}}+\frac {\left (A -3 B \right ) \cos \left (f x +e \right ) \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{8960 c^{4} f \left (c -c \sin \left (f x +e \right )\right )^{\frac {9}{2}}} \]
command
integrate((a+a*sin(f*x+e))^(7/2)*(A+B*sin(f*x+e))/(c-c*sin(f*x+e))^(17/2),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ -\frac {{\left (140 \, B a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{8} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 56 \, A a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 168 \, B a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 28 \, A a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 84 \, B a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 8 \, A a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 24 \, B a^{3} \sqrt {c} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - A a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 3 \, B a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{8960 \, {\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 1\right )}^{8} c^{9} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} \]
Giac 1.7.0 via sagemath 9.3 output
\[ \text {Timed out} \]________________________________________________________________________________________