Optimal. Leaf size=92 \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2} \sqrt {c-c \sin (e+f x)}}{6 a f}+\frac {c \cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{15 a f \sqrt {c-c \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.39, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.079, Rules used = {2841, 2740, 2738} \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2} \sqrt {c-c \sin (e+f x)}}{6 a f}+\frac {c \cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{15 a f \sqrt {c-c \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2738
Rule 2740
Rule 2841
Rubi steps
\begin {align*} \int \cos ^2(e+f x) (a+a \sin (e+f x))^{7/2} \sqrt {c-c \sin (e+f x)} \, dx &=\frac {\int (a+a \sin (e+f x))^{9/2} (c-c \sin (e+f x))^{3/2} \, dx}{a c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2} \sqrt {c-c \sin (e+f x)}}{6 a f}+\frac {\int (a+a \sin (e+f x))^{9/2} \sqrt {c-c \sin (e+f x)} \, dx}{3 a}\\ &=\frac {c \cos (e+f x) (a+a \sin (e+f x))^{9/2}}{15 a f \sqrt {c-c \sin (e+f x)}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2} \sqrt {c-c \sin (e+f x)}}{6 a f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.54, size = 104, normalized size = 1.13 \[ \frac {a^3 \sec (e+f x) \sqrt {a (\sin (e+f x)+1)} \sqrt {c-c \sin (e+f x)} (1080 \sin (e+f x)+20 \sin (3 (e+f x))-36 \sin (5 (e+f x))-405 \cos (2 (e+f x))-90 \cos (4 (e+f x))+5 \cos (6 (e+f x)))}{960 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 110, normalized size = 1.20 \[ \frac {{\left (5 \, a^{3} \cos \left (f x + e\right )^{6} - 30 \, a^{3} \cos \left (f x + e\right )^{4} + 25 \, a^{3} - 2 \, {\left (9 \, a^{3} \cos \left (f x + e\right )^{4} - 8 \, a^{3} \cos \left (f x + e\right )^{2} - 16 \, a^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{30 \, 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 [A] time = 0.40, size = 133, normalized size = 1.45 \[ -\frac {\sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {7}{2}} \left (-5 \left (\cos ^{8}\left (f x +e \right )\right )+3 \left (\cos ^{6}\left (f x +e \right )\right ) \sin \left (f x +e \right )-4 \left (\cos ^{6}\left (f x +e \right )\right )+7 \sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right )+7 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+7 \left (\cos ^{2}\left (f x +e \right )\right )+28 \sin \left (f x +e \right )-28\right )}{30 f \cos \left (f x +e \right )^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {7}{2}} \sqrt {-c \sin \left (f x + e\right ) + c} \cos \left (f x + e\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 11.49, size = 121, normalized size = 1.32 \[ -\frac {a^3\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (405\,\cos \left (e+f\,x\right )+495\,\cos \left (3\,e+3\,f\,x\right )+85\,\cos \left (5\,e+5\,f\,x\right )-5\,\cos \left (7\,e+7\,f\,x\right )-1100\,\sin \left (2\,e+2\,f\,x\right )+16\,\sin \left (4\,e+4\,f\,x\right )+36\,\sin \left (6\,e+6\,f\,x\right )\right )}{960\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________