Answer on Other Math Question for sofia
Let f (x) = ex be defined on [−1, 1]. For each positive integer n ≥ 3, let Pn be the Lagrange interpolation polynomial of f at the n equidis- tant points in [−1,1]. Given a positive error δ, write a function that compute the smallest value of n so that ∥f − Pn∥∞ < δ. For the test case, you can take δ = 10−4.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!