42.30 Problem number 117

\[ \int (g \cos (e+f x))^{3/2} (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{3/2} \, dx \]

Optimal antiderivative \[ -\frac {10 a^{2} c^{2} \left (g \cos \left (f x +e \right )\right )^{\frac {5}{2}} \left (a +a \sin \left (f x +e \right )\right )^{\frac {3}{2}}}{143 f g \sqrt {c -c \sin \left (f x +e \right )}}-\frac {14 a \,c^{2} \left (g \cos \left (f x +e \right )\right )^{\frac {5}{2}} \left (a +a \sin \left (f x +e \right )\right )^{\frac {5}{2}}}{429 f g \sqrt {c -c \sin \left (f x +e \right )}}+\frac {14 c^{2} \left (g \cos \left (f x +e \right )\right )^{\frac {5}{2}} \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}}}{143 f g \sqrt {c -c \sin \left (f x +e \right )}}-\frac {14 a^{4} c^{2} \left (g \cos \left (f x +e \right )\right )^{\frac {5}{2}}}{39 f g \sqrt {a +a \sin \left (f x +e \right )}\, \sqrt {c -c \sin \left (f x +e \right )}}+\frac {14 a^{4} c^{2} g \sqrt {\frac {\cos \left (f x +e \right )}{2}+\frac {1}{2}}\, \EllipticE \left (\sin \left (\frac {f x}{2}+\frac {e}{2}\right ), \sqrt {2}\right ) \left (\sqrt {\cos }\left (f x +e \right )\right ) \sqrt {g \cos \left (f x +e \right )}}{13 \cos \left (\frac {f x}{2}+\frac {e}{2}\right ) f \sqrt {a +a \sin \left (f x +e \right )}\, \sqrt {c -c \sin \left (f x +e \right )}}-\frac {2 a^{3} c^{2} \left (g \cos \left (f x +e \right )\right )^{\frac {5}{2}} \sqrt {a +a \sin \left (f x +e \right )}}{13 f g \sqrt {c -c \sin \left (f x +e \right )}}+\frac {2 c \left (g \cos \left (f x +e \right )\right )^{\frac {5}{2}} \left (a +a \sin \left (f x +e \right )\right )^{\frac {7}{2}} \sqrt {c -c \sin \left (f x +e \right )}}{13 f g} \]

command

integrate((g*cos(f*x+e))^(3/2)*(a+a*sin(f*x+e))^(7/2)*(c-c*sin(f*x+e))^(3/2),x, algorithm="fricas")

Fricas 1.3.8 (sbcl 2.2.11.debian) via sagemath 9.6 output

\[ \frac {-231 i \, \sqrt {2} \sqrt {a c g} a^{3} c g {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (f x + e\right ) + i \, \sin \left (f x + e\right )\right )\right ) + 231 i \, \sqrt {2} \sqrt {a c g} a^{3} c g {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )\right ) - 2 \, {\left (78 \, a^{3} c g \cos \left (f x + e\right )^{4} + 11 \, {\left (3 \, a^{3} c g \cos \left (f x + e\right )^{4} - 5 \, a^{3} c g \cos \left (f x + e\right )^{2} - 7 \, a^{3} c g\right )} \sin \left (f x + e\right )\right )} \sqrt {g \cos \left (f x + e\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{429 \, f} \]

Fricas 1.3.7 via sagemath 9.3 output

\[ {\rm integral}\left (-{\left (a^{3} c g \cos \left (f x + e\right )^{5} - 2 \, a^{3} c g \cos \left (f x + e\right )^{3} \sin \left (f x + e\right ) - 2 \, a^{3} c g \cos \left (f x + e\right )^{3}\right )} \sqrt {g \cos \left (f x + e\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}, x\right ) \]