Optimal. Leaf size=97 \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{80 a c^2 f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{10 a c f (c-c \sin (e+f x))^{11/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.44, antiderivative size = 97, 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, 2743, 2742} \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{80 a c^2 f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{10 a c f (c-c \sin (e+f x))^{11/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2742
Rule 2743
Rule 2841
Rubi steps
\begin {align*} \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{13/2}} \, dx &=\frac {\int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{11/2}} \, dx}{a c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{10 a c f (c-c \sin (e+f x))^{11/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{9/2}} \, dx}{10 a c^2}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{10 a c f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{80 a c^2 f (c-c \sin (e+f x))^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 6.27, size = 130, normalized size = 1.34 \[ \frac {a^2 \sqrt {a (\sin (e+f x)+1)} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 (35 \sin (e+f x)-5 \sin (3 (e+f x))-10 \cos (2 (e+f x))+14)}{40 c^6 f (\sin (e+f x)-1)^6 \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 163, normalized size = 1.68 \[ -\frac {{\left (5 \, a^{2} \cos \left (f x + e\right )^{2} - 6 \, a^{2} + 5 \, {\left (a^{2} \cos \left (f x + e\right )^{2} - 2 \, a^{2}\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}}{10 \, {\left (5 \, c^{7} f \cos \left (f x + e\right )^{5} - 20 \, c^{7} f \cos \left (f x + e\right )^{3} + 16 \, c^{7} f \cos \left (f x + e\right ) - {\left (c^{7} f \cos \left (f x + e\right )^{5} - 12 \, c^{7} f \cos \left (f x + e\right )^{3} + 16 \, c^{7} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [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]
________________________________________________________________________________________
maple [B] time = 0.37, size = 187, normalized size = 1.93 \[ \frac {\left (\cos ^{4}\left (f x +e \right )+5 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-17 \left (\cos ^{2}\left (f x +e \right )\right )-10 \sin \left (f x +e \right )+26\right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {5}{2}} \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 )+\cos \left (f x +e \right )+2 \sin \left (f x +e \right )-2\right )}{10 f \left (\cos ^{3}\left (f x +e \right )-\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-2 \sin \left (f x +e \right ) \cos \left (f x +e \right )-2 \cos \left (f x +e \right )+4 \sin \left (f x +e \right )+4\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {13}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [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]
________________________________________________________________________________________
mupad [B] time = 14.86, size = 317, normalized size = 3.27 \[ \frac {\sqrt {c-c\,\sin \left (e+f\,x\right )}\,\left (\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,112{}\mathrm {i}}{5\,c^7\,f}+\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (e+f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,56{}\mathrm {i}}{c^7\,f}-\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (2\,e+2\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,16{}\mathrm {i}}{c^7\,f}-\frac {a^2\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (3\,e+3\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,8{}\mathrm {i}}{c^7\,f}\right )}{\cos \left (e+f\,x\right )\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,264{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (3\,e+3\,f\,x\right )\,220{}\mathrm {i}+{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\cos \left (5\,e+5\,f\,x\right )\,20{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (2\,e+2\,f\,x\right )\,330{}\mathrm {i}+{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (4\,e+4\,f\,x\right )\,88{}\mathrm {i}-{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sin \left (6\,e+6\,f\,x\right )\,2{}\mathrm {i}} \]
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]
________________________________________________________________________________________