# Integrating (e^x)(1-x^2)

$\int e^x(1-x^2)dx = \int (e^x-e^xx^2)dx = \int e^x dx - \int e^xx^2dx = e^x - \int x^2e^xdx$
To calculate $\int x^2 e^x dx$ use integration by parts.