38.48 Problem number 235

\[ \int (d \cos (a+b x))^{5/2} \csc ^2(a+b x) \, dx \]

Optimal antiderivative \[ -\frac {d \left (d \cos \left (b x +a \right )\right )^{\frac {3}{2}} \csc \left (b x +a \right )}{b}-\frac {3 d^{2} \sqrt {\frac {\cos \left (b x +a \right )}{2}+\frac {1}{2}}\, \EllipticE \left (\sin \left (\frac {a}{2}+\frac {b x}{2}\right ), \sqrt {2}\right ) \sqrt {d \cos \left (b x +a \right )}}{\cos \left (\frac {a}{2}+\frac {b x}{2}\right ) b \sqrt {\cos \left (b x +a \right )}} \]

command

integrate((d*cos(b*x+a))^(5/2)*csc(b*x+a)^2,x, algorithm="fricas")

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

\[ \frac {-3 i \, \sqrt {2} d^{\frac {5}{2}} \sin \left (b x + a\right ) {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b x + a\right ) + i \, \sin \left (b x + a\right )\right )\right ) + 3 i \, \sqrt {2} d^{\frac {5}{2}} \sin \left (b x + a\right ) {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b x + a\right ) - i \, \sin \left (b x + a\right )\right )\right ) - 2 \, \sqrt {d \cos \left (b x + a\right )} d^{2} \cos \left (b x + a\right )}{2 \, b \sin \left (b x + a\right )} \]

Fricas 1.3.7 via sagemath 9.3 output

\[ {\rm integral}\left (\sqrt {d \cos \left (b x + a\right )} d^{2} \cos \left (b x + a\right )^{2} \csc \left (b x + a\right )^{2}, x\right ) \]