38.114 Problem number 517

\[ \int (d \csc (e+f x))^{3/2} \sin ^3(e+f x) \, dx \]

Optimal antiderivative \[ -\frac {2 d^{2} \cos \left (f x +e \right )}{3 f \sqrt {d \csc \left (f x +e \right )}}-\frac {2 d \sqrt {\frac {1}{2}+\frac {\sin \left (f x +e \right )}{2}}\, \EllipticF \left (\cos \left (\frac {e}{2}+\frac {\pi }{4}+\frac {f x}{2}\right ), \sqrt {2}\right ) \sqrt {d \csc \left (f x +e \right )}\, \left (\sqrt {\sin }\left (f x +e \right )\right )}{3 \sin \left (\frac {e}{2}+\frac {\pi }{4}+\frac {f x}{2}\right ) f} \]

command

integrate((d*csc(f*x+e))^(3/2)*sin(f*x+e)^3,x, algorithm="fricas")

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

\[ -\frac {2 \, d \sqrt {\frac {d}{\sin \left (f x + e\right )}} \cos \left (f x + e\right ) \sin \left (f x + e\right ) + i \, \sqrt {2 i \, d} d {\rm weierstrassPInverse}\left (4, 0, \cos \left (f x + e\right ) + i \, \sin \left (f x + e\right )\right ) - i \, \sqrt {-2 i \, d} d {\rm weierstrassPInverse}\left (4, 0, \cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )}{3 \, f} \]

Fricas 1.3.7 via sagemath 9.3 output

\[ {\rm integral}\left (-{\left (d \cos \left (f x + e\right )^{2} - d\right )} \sqrt {d \csc \left (f x + e\right )} \csc \left (f x + e\right ) \sin \left (f x + e\right ), x\right ) \]