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.
The answer to the question is available in the PDF file https://assignmentexpert.com/https://assignmentexpert.com/homework-answers/mathematics-answer-44630.pdf
Comments
Leave a comment