Let f ( x ) = ∫ 0 x t e − t d t . {\displaystyle f(x)=\int _{0}^{x}te^{-t}\;\mathrm {d} t.} Use this function in all parts below.
(a) Solve the integral to produce a simple formula for f ( x ) . {\displaystyle f(x).}