Answer
$$\int x^{2}e^{x}dx=x^{2}e^{x}-2x\,e^{x}+2e^{x}+C$$
Work Step by Step
$$\int x^{2}e^{x}dx= x^{2}e^{x}-\int 2x\,e^{x}dx$$
$$=x^{2}e^{x}-(2x\,e^{x}-\int 2e^{x}dx)$$
$$=x^{2}e^{x}-2x\,e^{x}+2e^{x}+C$$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.