74.40 Problem number 90

\[ \int \frac {\sqrt {a+a \sec (e+f x)}}{\sqrt {c-c \sec (e+f x)}} \, dx \]

Optimal antiderivative \[ \frac {a \ln \left (1-\cos \left (f x +e \right )\right ) \tan \left (f x +e \right )}{f \sqrt {a +a \sec \left (f x +e \right )}\, \sqrt {c -c \sec \left (f x +e \right )}} \]

command

integrate((a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(1/2),x, algorithm="giac")

Giac 1.9.0-11 via sagemath 9.6 output

\[ -\frac {\frac {\sqrt {-a c} a \log \left ({\left | a \right |} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}\right )}{c {\left | a \right |}} - \frac {\sqrt {-a c} a \log \left ({\left | -a \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - a \right |}\right )}{c {\left | a \right |}}}{f} \]

Giac 1.7.0 via sagemath 9.3 output

\[ \text {Exception raised: TypeError} \]________________________________________________________________________________________