Optimal. Leaf size=13 \[ \frac{1}{9} a \sin ^3(3 x+5) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0174402, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188, Rules used = {12, 2564, 30} \[ \frac{1}{9} a \sin ^3(3 x+5) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2564
Rule 30
Rubi steps
\begin{align*} \int a \cos (5+3 x) \sin ^2(5+3 x) \, dx &=a \int \cos (5+3 x) \sin ^2(5+3 x) \, dx\\ &=\frac{1}{3} a \operatorname{Subst}\left (\int x^2 \, dx,x,\sin (5+3 x)\right )\\ &=\frac{1}{9} a \sin ^3(5+3 x)\\ \end{align*}
Mathematica [A] time = 0.0070728, size = 13, normalized size = 1. \[ \frac{1}{9} a \sin ^3(3 x+5) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 12, normalized size = 0.9 \begin{align*}{\frac{a \left ( \sin \left ( 5+3\,x \right ) \right ) ^{3}}{9}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.943559, size = 15, normalized size = 1.15 \begin{align*} \frac{1}{9} \, a \sin \left (3 \, x + 5\right )^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.65026, size = 57, normalized size = 4.38 \begin{align*} -\frac{1}{9} \,{\left (a \cos \left (3 \, x + 5\right )^{2} - a\right )} \sin \left (3 \, x + 5\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.303857, size = 10, normalized size = 0.77 \begin{align*} \frac{a \sin ^{3}{\left (3 x + 5 \right )}}{9} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10725, size = 15, normalized size = 1.15 \begin{align*} \frac{1}{9} \, a \sin \left (3 \, x + 5\right )^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]