Taylor series approximation problem
57 views (last 30 days)
we are considering a Taylor series approximation of f(x) = e^(-x)
my questions is how to compute the Taylor Series approximation of f(x).
The requirements are: the code should take as input x_i, x_i+1, and the order, n.
The code should output the normalized true error e_T, at x_i+1
I'm totally lost where to start, hope to get some hints or help!