Optimal. Leaf size=45 \[ -\frac {\cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 c f \sqrt {a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2841, 2738} \[ -\frac {\cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 c f \sqrt {a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2738
Rule 2841
Rubi steps
\begin {align*} \int \frac {\cos ^2(e+f x) \sqrt {c-c \sin (e+f x)}}{\sqrt {a+a \sin (e+f x)}} \, dx &=\frac {\int \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2} \, dx}{a c}\\ &=-\frac {\cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 c f \sqrt {a+a \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.29, size = 62, normalized size = 1.38 \[ \frac {\sec (e+f x) \sqrt {a (\sin (e+f x)+1)} \sqrt {c-c \sin (e+f x)} (4 \sin (e+f x)+\cos (2 (e+f x)))}{4 a f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 59, normalized size = 1.31 \[ \frac {{\left (\cos \left (f x + e\right )^{2} + 2 \, \sin \left (f x + e\right ) - 1\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{2 \, a f \cos \left (f x + e\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.37, size = 90, normalized size = 2.00 \[ \frac {\sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )+\sin \left (f x +e \right ) \cos \left (f x +e \right )-2 \cos \left (f x +e \right )+\sin \left (f x +e \right )+1\right )}{2 f \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, \left (-1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.63, size = 388, normalized size = 8.62 \[ -\frac {\frac {2 \, \sqrt {a} \sqrt {c} + \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}}{a + \frac {2 \, a \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}} - \frac {2 \, \sqrt {a} \sqrt {c} - \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {3 \, \sqrt {a} \sqrt {c} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} - \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}}{a + \frac {2 \, a \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}} + \frac {2 \, {\left (\frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {\sqrt {a} \sqrt {c} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )}}{a + \frac {2 \, a \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}}}{2 \, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.93, size = 67, normalized size = 1.49 \[ -\frac {\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (\cos \left (e+f\,x\right )+\cos \left (3\,e+3\,f\,x\right )+4\,\sin \left (2\,e+2\,f\,x\right )\right )}{8\,f\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\left (\sin \left (e+f\,x\right )-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )} \cos ^{2}{\left (e + f x \right )}}{\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________