Optimal. Leaf size=97 \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{120 a c^2 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{12 a c f (c-c \sin (e+f x))^{13/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)^{9/2}}{120 a c^2 f (c-c \sin (e+f x))^{11/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{12 a c f (c-c \sin (e+f x))^{13/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))^{7/2}}{(c-c \sin (e+f x))^{15/2}} \, dx &=\frac {\int \frac {(a+a \sin (e+f x))^{9/2}}{(c-c \sin (e+f x))^{13/2}} \, dx}{a c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{12 a c f (c-c \sin (e+f x))^{13/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{9/2}}{(c-c \sin (e+f x))^{11/2}} \, dx}{12 a c^2}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{12 a c f (c-c \sin (e+f x))^{13/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{120 a c^2 f (c-c \sin (e+f x))^{11/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 6.79, size = 419, normalized size = 4.32 \[ \frac {(a (\sin (e+f x)+1))^{7/2} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^{11}}{2 f (c-c \sin (e+f x))^{15/2} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^7}-\frac {8 (a (\sin (e+f x)+1))^{7/2} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^9}{3 f (c-c \sin (e+f x))^{15/2} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^7}+\frac {6 (a (\sin (e+f x)+1))^{7/2} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^7}{f (c-c \sin (e+f x))^{15/2} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^7}-\frac {32 (a (\sin (e+f x)+1))^{7/2} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^5}{5 f (c-c \sin (e+f x))^{15/2} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^7}+\frac {8 (a (\sin (e+f x)+1))^{7/2} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^3}{3 f (c-c \sin (e+f x))^{15/2} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^7} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.50, size = 191, normalized size = 1.97 \[ -\frac {{\left (15 \, a^{3} \cos \left (f x + e\right )^{4} - 60 \, a^{3} \cos \left (f x + e\right )^{2} + 48 \, a^{3} - 4 \, {\left (5 \, a^{3} \cos \left (f x + e\right )^{2} - 8 \, 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 \, {\left (c^{8} f \cos \left (f x + e\right )^{7} - 18 \, c^{8} f \cos \left (f x + e\right )^{5} + 48 \, c^{8} f \cos \left (f x + e\right )^{3} - 32 \, c^{8} f \cos \left (f x + e\right ) + 2 \, {\left (3 \, c^{8} f \cos \left (f x + e\right )^{5} - 16 \, c^{8} f \cos \left (f x + e\right )^{3} + 16 \, c^{8} 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.40, size = 230, normalized size = 2.37 \[ -\frac {\left (3 \sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right )-18 \left (\cos ^{4}\left (f x +e \right )\right )-36 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+116 \left (\cos ^{2}\left (f x +e \right )\right )+48 \sin \left (f x +e \right )-128\right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {7}{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 )}{30 f \left (\sin \left (f x +e \right ) \left (\cos ^{3}\left (f x +e \right )\right )+\cos ^{4}\left (f x +e \right )-4 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+3 \left (\cos ^{3}\left (f x +e \right )\right )-4 \sin \left (f x +e \right ) \cos \left (f x +e \right )-8 \left (\cos ^{2}\left (f x +e \right )\right )+8 \sin \left (f x +e \right )-4 \cos \left (f x +e \right )+8\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {15}{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.41, size = 373, normalized size = 3.85 \[ -\frac {\sqrt {c-c\,\sin \left (e+f\,x\right )}\,\left (\frac {504\,a^3\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{5\,c^8\,f}+\frac {576\,a^3\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\sin \left (e+f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{5\,c^8\,f}-\frac {96\,a^3\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\cos \left (2\,e+2\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{c^8\,f}+\frac {8\,a^3\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\cos \left (4\,e+4\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{c^8\,f}-\frac {64\,a^3\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\sin \left (3\,e+3\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{3\,c^8\,f}\right )}{-858\,\cos \left (e+f\,x\right )\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}+858\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\cos \left (3\,e+3\,f\,x\right )-130\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\cos \left (5\,e+5\,f\,x\right )+2\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\cos \left (7\,e+7\,f\,x\right )+1144\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\sin \left (2\,e+2\,f\,x\right )-416\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\sin \left (4\,e+4\,f\,x\right )+24\,{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}\,\sin \left (6\,e+6\,f\,x\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]
________________________________________________________________________________________