Optimal. Leaf size=10 \[ -\frac{1}{3} \cos ^3\left (e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0274706, antiderivative size = 10, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {2282, 2565, 30} \[ -\frac{1}{3} \cos ^3\left (e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2565
Rule 30
Rubi steps
\begin{align*} \int e^x \cos ^2\left (e^x\right ) \sin \left (e^x\right ) \, dx &=\operatorname{Subst}\left (\int \cos ^2(x) \sin (x) \, dx,x,e^x\right )\\ &=-\operatorname{Subst}\left (\int x^2 \, dx,x,\cos \left (e^x\right )\right )\\ &=-\frac{1}{3} \cos ^3\left (e^x\right )\\ \end{align*}
Mathematica [A] time = 0.0203797, size = 19, normalized size = 1.9 \[ -\frac{1}{4} \cos \left (e^x\right )-\frac{1}{12} \cos \left (3 e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 8, normalized size = 0.8 \begin{align*} -{\frac{ \left ( \cos \left ({{\rm e}^{x}} \right ) \right ) ^{3}}{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.922909, size = 9, normalized size = 0.9 \begin{align*} -\frac{1}{3} \, \cos \left (e^{x}\right )^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.8898, size = 23, normalized size = 2.3 \begin{align*} -\frac{1}{3} \, \cos \left (e^{x}\right )^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.08616, size = 8, normalized size = 0.8 \begin{align*} - \frac{\cos ^{3}{\left (e^{x} \right )}}{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08064, size = 9, normalized size = 0.9 \begin{align*} -\frac{1}{3} \, \cos \left (e^{x}\right )^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]