1
vote
0answers
35 views

Find the right degree of the Maclaurin polynomial of $e^x$

Here is my question: What degree Maclaurin polynomial of $e^x$ must be taken to guarantee an estimate of $e$ to within $1 \times 10^{-6}?$ I know that the error term is: ...
2
votes
1answer
63 views

How to find the error term for multiple applications of a method

I have a problem where I have to estimate the second derivative of a function at a point using given data. I have $f(1.2)$, $f(1.3)$, and $f(1.4)$. ($h=0.1$) I need to find $f''(1.3)$, so I use the ...
2
votes
2answers
681 views

Lagrange polynomial and derivative problem

I need to code this function in matlab $$L'(x) = \sum_{k = 0}^{n} f_k l_k(x) $$ Where's $l_k$ looks like this $$l_k(x) = \sum^{n}_{j=0, j \neq k} \frac{\prod^{n}_{i=0}(x - x_i)}{(x - ...