The Moin exercise 10 said in this question comes from the te
The \'Moin exercise 10\' said in this question comes from the text book chapter 1, page 10, linked here: http://197.14.51.10:81/pmb/MATHEMATIQUE/fundamental.pdf
It\'s required to use MATLAB to solve this one. Thank you
Routine is better to be shown as well. So that I can understand this problem well.
Problem 4 (15 points): Using the results of Moin, Exercise 10 (don\'t solve the problem), write a routine to return the derivative matrix D = {dat that maps values fi to derivatives p\'(24) of the Lagrange polynomial. That is, if p E Pn with p(aj) = fi, then n. dp Ti j=0 Explain how this matrix can be used to plot p\'(a) for any a on [a, b]. Modify your routine from Problem 4 to sample p\'(x) and plot the derivative error, 7n max as well as the interpolation error en (3) for f(x) = sinx on [0,10]. Comrnent on relative sizes of en and dn.Solution
graph of p\'(x) w.r.t x will be constant
apply LHL = RHL
P(x) must cntinous and differentiable
