Phương pháp giải: Áp dụng công thức: \(f\left( x \right) = \left( {\int {f\left( x \right)dx} } \right)'\). Giải chi tiết:Ta có \(\int {f\left( x \right)dx = \dfrac{{{x^3}}}{3} + {e^x} + C} \)\( \Rightarrow f\left( x \right) = \left( {\int {f\left( x \right)dx} } \right)' = {x^2} + {e^x}.\) Chọn D.