Optimal. Leaf size=79 \[ \frac {32 \sin \left (\frac {x}{3}\right )}{65 \sqrt {e^x}}-\frac {2 \cos ^3\left (\frac {x}{3}\right )}{5 \sqrt {e^x}}-\frac {48 \cos \left (\frac {x}{3}\right )}{65 \sqrt {e^x}}+\frac {4 \sin \left (\frac {x}{3}\right ) \cos ^2\left (\frac {x}{3}\right )}{5 \sqrt {e^x}} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 79, normalized size of antiderivative = 1.00, 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 = {2281, 4435, 4433} \[ \frac {32 \sin \left (\frac {x}{3}\right )}{65 \sqrt {e^x}}-\frac {2 \cos ^3\left (\frac {x}{3}\right )}{5 \sqrt {e^x}}-\frac {48 \cos \left (\frac {x}{3}\right )}{65 \sqrt {e^x}}+\frac {4 \sin \left (\frac {x}{3}\right ) \cos ^2\left (\frac {x}{3}\right )}{5 \sqrt {e^x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2281
Rule 4433
Rule 4435
Rubi steps
\begin {align*} \int \frac {\cos ^3\left (\frac {x}{3}\right )}{\sqrt {e^x}} \, dx &=\frac {e^{x/2} \int e^{-x/2} \cos ^3\left (\frac {x}{3}\right ) \, dx}{\sqrt {e^x}}\\ &=-\frac {2 \cos ^3\left (\frac {x}{3}\right )}{5 \sqrt {e^x}}+\frac {4 \cos ^2\left (\frac {x}{3}\right ) \sin \left (\frac {x}{3}\right )}{5 \sqrt {e^x}}+\frac {\left (8 e^{x/2}\right ) \int e^{-x/2} \cos \left (\frac {x}{3}\right ) \, dx}{15 \sqrt {e^x}}\\ &=-\frac {48 \cos \left (\frac {x}{3}\right )}{65 \sqrt {e^x}}-\frac {2 \cos ^3\left (\frac {x}{3}\right )}{5 \sqrt {e^x}}+\frac {32 \sin \left (\frac {x}{3}\right )}{65 \sqrt {e^x}}+\frac {4 \cos ^2\left (\frac {x}{3}\right ) \sin \left (\frac {x}{3}\right )}{5 \sqrt {e^x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 36, normalized size = 0.46 \[ \frac {90 \sin \left (\frac {x}{3}\right )+26 \sin (x)-135 \cos \left (\frac {x}{3}\right )-13 \cos (x)}{130 \sqrt {e^x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos ^3\left (\frac {x}{3}\right )}{\sqrt {e^x}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.38, size = 42, normalized size = 0.53 \[ \frac {4}{65} \, {\left (13 \, \cos \left (\frac {1}{3} \, x\right )^{2} + 8\right )} e^{\left (-\frac {1}{2} \, x\right )} \sin \left (\frac {1}{3} \, x\right ) - \frac {2}{65} \, {\left (13 \, \cos \left (\frac {1}{3} \, x\right )^{3} + 24 \, \cos \left (\frac {1}{3} \, x\right )\right )} e^{\left (-\frac {1}{2} \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.63, size = 33, normalized size = 0.42 \[ -\frac {9}{26} \, {\left (3 \, \cos \left (\frac {1}{3} \, x\right ) - 2 \, \sin \left (\frac {1}{3} \, x\right )\right )} e^{\left (-\frac {1}{2} \, x\right )} - \frac {1}{10} \, {\left (\cos \relax (x) - 2 \, \sin \relax (x)\right )} e^{\left (-\frac {1}{2} \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.10, size = 48, normalized size = 0.61
method | result | size |
risch | \(\frac {\left (-\frac {1}{1300}-\frac {i}{650}\right ) \left (-52 i {\mathrm e}^{-i x}+65 \,{\mathrm e}^{i x}-39 \,{\mathrm e}^{-i x}+\left (270-540 i\right ) \cos \left (\frac {x}{3}\right )+\left (-180+360 i\right ) \sin \left (\frac {x}{3}\right )\right )}{\sqrt {{\mathrm e}^{x}}}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.63, size = 27, normalized size = 0.34 \[ -\frac {1}{130} \, {\left (135 \, \cos \left (\frac {1}{3} \, x\right ) + 13 \, \cos \relax (x) - 90 \, \sin \left (\frac {1}{3} \, x\right ) - 26 \, \sin \relax (x)\right )} e^{\left (-\frac {1}{2} \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.30, size = 39, normalized size = 0.49 \[ -\frac {{\mathrm {e}}^{-\frac {x}{2}}\,\left (\frac {8\,{\cos \left (\frac {x}{3}\right )}^3}{5}-\frac {16\,\sin \left (\frac {x}{3}\right )\,{\cos \left (\frac {x}{3}\right )}^2}{5}+\frac {192\,\cos \left (\frac {x}{3}\right )}{65}-\frac {128\,\sin \left (\frac {x}{3}\right )}{65}\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.47, size = 76, normalized size = 0.96 \[ \frac {32 \sin ^{3}{\left (\frac {x}{3} \right )}}{65 \sqrt {e^{x}}} - \frac {48 \sin ^{2}{\left (\frac {x}{3} \right )} \cos {\left (\frac {x}{3} \right )}}{65 \sqrt {e^{x}}} + \frac {84 \sin {\left (\frac {x}{3} \right )} \cos ^{2}{\left (\frac {x}{3} \right )}}{65 \sqrt {e^{x}}} - \frac {74 \cos ^{3}{\left (\frac {x}{3} \right )}}{65 \sqrt {e^{x}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________