Optimal. Leaf size=49 \[ \frac {4 (a \sin (c+d x)+a)^{5/2}}{5 a^2 d}-\frac {2 (a \sin (c+d x)+a)^{7/2}}{7 a^3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2667, 43} \[ \frac {4 (a \sin (c+d x)+a)^{5/2}}{5 a^2 d}-\frac {2 (a \sin (c+d x)+a)^{7/2}}{7 a^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2667
Rubi steps
\begin {align*} \int \cos ^3(c+d x) \sqrt {a+a \sin (c+d x)} \, dx &=\frac {\operatorname {Subst}\left (\int (a-x) (a+x)^{3/2} \, dx,x,a \sin (c+d x)\right )}{a^3 d}\\ &=\frac {\operatorname {Subst}\left (\int \left (2 a (a+x)^{3/2}-(a+x)^{5/2}\right ) \, dx,x,a \sin (c+d x)\right )}{a^3 d}\\ &=\frac {4 (a+a \sin (c+d x))^{5/2}}{5 a^2 d}-\frac {2 (a+a \sin (c+d x))^{7/2}}{7 a^3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.23, size = 54, normalized size = 1.10 \[ -\frac {2 (5 \sin (c+d x)-9) \sqrt {a (\sin (c+d x)+1)} \left (\sin \left (\frac {1}{2} (c+d x)\right )+\cos \left (\frac {1}{2} (c+d x)\right )\right )^4}{35 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.78, size = 46, normalized size = 0.94 \[ \frac {2 \, {\left (\cos \left (d x + c\right )^{2} + {\left (5 \, \cos \left (d x + c\right )^{2} + 8\right )} \sin \left (d x + c\right ) + 8\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{35 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.69, size = 129, normalized size = 2.63 \[ \frac {1}{140} \, \sqrt {2} \sqrt {a} {\left (\frac {7 \, \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{4} \, \pi + \frac {5}{2} \, d x + \frac {5}{2} \, c\right )}{d} + \frac {105 \, \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{d} + \frac {5 \, \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {7}{2} \, d x + \frac {7}{2} \, c\right )}{d} + \frac {35 \, \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {3}{2} \, d x + \frac {3}{2} \, c\right )}{d}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.15, size = 31, normalized size = 0.63 \[ -\frac {2 \left (a +a \sin \left (d x +c \right )\right )^{\frac {5}{2}} \left (5 \sin \left (d x +c \right )-9\right )}{35 a^{2} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 38, normalized size = 0.78 \[ -\frac {2 \, {\left (5 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {7}{2}} - 14 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {5}{2}} a\right )}}{35 \, a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\cos \left (c+d\,x\right )}^3\,\sqrt {a+a\,\sin \left (c+d\,x\right )} \,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]
________________________________________________________________________________________