** Final Answer

**

** Step-by-step Solution **

** Specify the solving method

**

**

Expand the integral $\int\left(e^x-x^2\right)dx$ into $2$ integrals using the sum rule for integrals, to then solve each integral separately

Learn how to solve integrals of exponential functions problems step by step online.

$\int e^xdx+\int-x^2dx$

Learn how to solve integrals of exponential functions problems step by step online. Find the integral int(e^x-x^2)dx. Expand the integral \int\left(e^x-x^2\right)dx into 2 integrals using the sum rule for integrals, to then solve each integral separately. The integral \int e^xdx results in: e^x. The integral \int-x^2dx results in: \frac{-x^{3}}{3}. Gather the results of all integrals.

** Final Answer

**