Question: Just answer problrm C, please. (a) Use the method of undetermined coefficients to set up and solve the 3 x 3 Vandermonde system that would

Just answer problrm C, please.
(a) Use the method of undetermined coefficients to set up and solve the 3 x 3 Vandermonde system that would determine a centered finite difference approximation to u'() of the highest order possible based on 3 equally spaced points, i.e., D1:1 (3):= -1u( h) + Cu(7) + Cu(3+ ) = (). (MATLAB notation for the set of numbers from a to b by 1 is a : b.) Find the coefficients c_1, Co, and C. Note: the resulting formula is called the centered 3-point approximation for the first derivative (eventhough the center point does not appear explicitly...hint). (b) Check your answer using the MATLAB code fdstencil.m available from the author's website. (c) Repeat (b) for 5 points, i.e., find D_2:24(1):=C_247-2h)+c-1u1-h)+cou(T)+cul+h)+czu(7+2h) '(o). (Note: although the algebra is tedious, one can find an explicit formula for these coefficients for any arbitrary number of points in a centered stencil.) (a) Use the method of undetermined coefficients to set up and solve the 3 x 3 Vandermonde system that would determine a centered finite difference approximation to u'() of the highest order possible based on 3 equally spaced points, i.e., D1:1 (3):= -1u( h) + Cu(7) + Cu(3+ ) = (). (MATLAB notation for the set of numbers from a to b by 1 is a : b.) Find the coefficients c_1, Co, and C. Note: the resulting formula is called the centered 3-point approximation for the first derivative (eventhough the center point does not appear explicitly...hint). (b) Check your answer using the MATLAB code fdstencil.m available from the author's website. (c) Repeat (b) for 5 points, i.e., find D_2:24(1):=C_247-2h)+c-1u1-h)+cou(T)+cul+h)+czu(7+2h) '(o). (Note: although the algebra is tedious, one can find an explicit formula for these coefficients for any arbitrary number of points in a centered stencil.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
