\[ \int \frac {(A+B \sin (e+f x)) \sqrt {c-c \sin (e+f x)}}{(a+a \sin (e+f x))^{3/2}} \, dx \]
Optimal antiderivative \[ -\frac {\left (A -B \right ) c \cos \left (f x +e \right )}{f \left (a +a \sin \left (f x +e \right )\right )^{\frac {3}{2}} \sqrt {c -c \sin \left (f x +e \right )}}+\frac {B c \cos \left (f x +e \right ) \ln \left (1+\sin \left (f x +e \right )\right )}{a f \sqrt {a +a \sin \left (f x +e \right )}\, \sqrt {c -c \sin \left (f x +e \right )}} \]
command
integrate((A+B*sin(f*x+e))*(c-c*sin(f*x+e))^(1/2)/(a+a*sin(f*x+e))^(3/2),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ -\frac {{\left (4 \, B \sqrt {a} \log \left ({\left | \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) \right |}\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - \frac {A \sqrt {a} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - B \sqrt {a} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}}\right )} \sqrt {c}}{2 \, a^{2} f \mathrm {sgn}\left (\cos \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} \]________________________________________________________________________________________