Optimal. Leaf size=10 \[ -\frac {1}{3} \cos ^3\left (e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 10, normalized size of antiderivative = 1.00, 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 = {2320, 2645, 30}
\begin {gather*} -\frac {1}{3} \cos ^3\left (e^x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2320
Rule 2645
Rubi steps
\begin {align*} \int e^x \cos ^2\left (e^x\right ) \sin \left (e^x\right ) \, dx &=\text {Subst}\left (\int \cos ^2(x) \sin (x) \, dx,x,e^x\right )\\ &=-\text {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.02, size = 19, normalized size = 1.90 \begin {gather*} -\frac {1}{4} \cos \left (e^x\right )-\frac {1}{12} \cos \left (3 e^x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.98, size = 8, normalized size = 0.80 \begin {gather*} -\frac {{\text {Cos}\left [E^x\right ]}^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 8, normalized size = 0.80
method | result | size |
derivativedivides | \(-\frac {\left (\cos ^{3}\left ({\mathrm e}^{x}\right )\right )}{3}\) | \(8\) |
default | \(-\frac {\left (\cos ^{3}\left ({\mathrm e}^{x}\right )\right )}{3}\) | \(8\) |
risch | \(-\frac {\cos \left ({\mathrm e}^{x}\right )}{4}-\frac {\cos \left (3 \,{\mathrm e}^{x}\right )}{12}\) | \(14\) |
norman | \(\frac {2 \left (\tan ^{2}\left (\frac {{\mathrm e}^{x}}{2}\right )\right )+\frac {2 \left (\tan ^{6}\left (\frac {{\mathrm e}^{x}}{2}\right )\right )}{3}}{\left (1+\tan ^{2}\left (\frac {{\mathrm e}^{x}}{2}\right )\right )^{3}}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 7, normalized size = 0.70 \begin {gather*} -\frac {1}{3} \, \cos \left (e^{x}\right )^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.31, size = 7, normalized size = 0.70 \begin {gather*} -\frac {1}{3} \, \cos \left (e^{x}\right )^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.35, size = 8, normalized size = 0.80 \begin {gather*} - \frac {\cos ^{3}{\left (e^{x} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 9, normalized size = 0.90 \begin {gather*} -\frac {\cos ^{3}\left (\mathrm {e}^{x}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.19, size = 7, normalized size = 0.70 \begin {gather*} -\frac {{\cos \left ({\mathrm {e}}^x\right )}^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________