38.124 Problem number 527

\[ \int \frac {\csc (e+f x)}{\sqrt {d \csc (e+f x)}} \, dx \]

Optimal antiderivative \[ -\frac {2 \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 )}{\sin \left (\frac {e}{2}+\frac {\pi }{4}+\frac {f x}{2}\right ) d f} \]

command

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

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

\[ \frac {-i \, \sqrt {2 i \, 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} {\rm weierstrassPInverse}\left (4, 0, \cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )}{d f} \]

Fricas 1.3.7 via sagemath 9.3 output

\[ {\rm integral}\left (\frac {\sqrt {d \csc \left (f x + e\right )}}{d}, x\right ) \]