Optimal. Leaf size=179 \[ -\frac {2 g \sqrt {\cos (e+f x)} E\left (\left .\frac {1}{2} (e+f x)\right |2\right ) \sqrt {g \cos (e+f x)}}{5 c^2 f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 c f g \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.86, antiderivative size = 179, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 42, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2852, 2842, 2640, 2639} \[ -\frac {2 g \sqrt {\cos (e+f x)} E\left (\left .\frac {1}{2} (e+f x)\right |2\right ) \sqrt {g \cos (e+f x)}}{5 c^2 f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 c f g \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rule 2640
Rule 2842
Rule 2852
Rubi steps
\begin {align*} \int \frac {(g \cos (e+f x))^{3/2}}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}} \, dx &=\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}+\frac {\int \frac {(g \cos (e+f x))^{3/2}}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx}{5 c}\\ &=\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 c f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}}-\frac {\int \frac {(g \cos (e+f x))^{3/2}}{\sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \, dx}{5 c^2}\\ &=\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 c f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}}-\frac {(g \cos (e+f x)) \int \sqrt {g \cos (e+f x)} \, dx}{5 c^2 \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}\\ &=\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 c f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}}-\frac {\left (g \sqrt {\cos (e+f x)} \sqrt {g \cos (e+f x)}\right ) \int \sqrt {\cos (e+f x)} \, dx}{5 c^2 \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}\\ &=\frac {2 (g \cos (e+f x))^{5/2}}{5 f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}+\frac {2 (g \cos (e+f x))^{5/2}}{5 c f g \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}}-\frac {2 g \sqrt {\cos (e+f x)} \sqrt {g \cos (e+f x)} E\left (\left .\frac {1}{2} (e+f x)\right |2\right )}{5 c^2 f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.52, size = 204, normalized size = 1.14 \[ \frac {(g \cos (e+f x))^{3/2} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^2 \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right ) \left (\sqrt {\cos (e+f x)} \left (4 \sin ^3\left (\frac {1}{2} (e+f x)\right )+3 \cos \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {3}{2} (e+f x)\right )\right )-2 E\left (\left .\frac {1}{2} (e+f x)\right |2\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^3\right )}{5 c^2 f (\sin (e+f x)-1)^2 \cos ^{\frac {3}{2}}(e+f x) \sqrt {a (\sin (e+f x)+1)} \sqrt {c-c \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\sqrt {g \cos \left (f x + e\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} g}{a c^{3} \cos \left (f x + e\right )^{3} + 2 \, a c^{3} \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 2 \, a c^{3} \cos \left (f x + e\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (g \cos \left (f x + e\right )\right )^{\frac {3}{2}}}{\sqrt {a \sin \left (f x + e\right ) + a} {\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.56, size = 781, normalized size = 4.36 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (g \cos \left (f x + e\right )\right )^{\frac {3}{2}}}{\sqrt {a \sin \left (f x + e\right ) + a} {\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (g\,\cos \left (e+f\,x\right )\right )}^{3/2}}{\sqrt {a+a\,\sin \left (e+f\,x\right )}\,{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{5/2}} \,d x \]
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]
________________________________________________________________________________________