Chapter 3: Problem 11
The Taylor series for an infinitely differentiable function \(f\) at \(x=a\) is given by $$ T(x)=\sum_{k=0}^{\infty} \frac{f^{(k)}(a)}{k !}(x-a)^{k} $$ where \(f^{(k)}\) is the \(k\) th derivative of \(f(\) see \([5, \S 8.8])\). Let \(f(x)=e^{x^{2}}\). (a) Find (by hand) the first three nonzero terms of the Taylor series for \(f\) at \(x=0\). (b) Check your answer to part (a) by defining \(f\) as a symbolic function and using the taylor function: \(\gg\) syms \(x\) \(\gg f=\exp \left(x^{-} 2\right)\) \(\gg \mathrm{T} 5=\operatorname{tay} \operatorname{lor}(\mathrm{f}, \mathrm{x},\) 'order' \(, 5)\) (c) Plot the function and the Taylor polynomial on the same axes. (d) Use the Taylor polynomial to approximate \(\int_{0}^{1} e^{x^{2}} d x\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.