Consider the function $$ f\left(x_{1}, x_{2}, \ldots, x_{n}\right)=e^{x_{1}+2 x_{2}+\cdots+n x_{n}} $$
(a) Calculate $D f(0,0, \ldots, 0)$ and $H f(0,0, \ldots, 0)$.
(b) Determine the first- and second-order Taylor polynomials of $f$ at $\mathbf{0}$.
(c) Use formulas (3) and (10) to write the Taylor polynomials in terms of the derivative and Hessian matrices.