3. Consider the following data set -2012 f(x₂) 5 1 -1 5 (a) Construct the quadratic Lagrange interpolating polynomial P2(x) that interpo- lates f(x) at x; for i = 0, 1, 2. Sketch the three Lagrange basis polynomials on [To, x2]. (b) Construct the cubic Lagrange interpolating polynomial P3(r) that interpolates f(x) at x; for i = 0, 1, 2, 3. Sketch the four Lagrange basis polynomials on [ro, x3].

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question

Second photo is what to complete in D, in the first photo

please do all 4 if not. Try to complete the last part

3. Consider the same data set as that in Problem 3 of Homework 1.
-2 0 1 2
Xi
f(x₁) 5 1 -1 5
(a) Construct the divided difference table for points zi, i = 0,
the matlab file divdif.m on Canvas to check your answer.
,3. You may use
(b) Construct the Newton forward divided difference interpolating polynomials Q1 (1)
(using ri, i = 0, 1), Q2(r) (using zi, i = 0, 1, 2), and Q3(r) (using zi, i = 0, 1, 2, 3).
(c) Construct the Newton backward divided difference interpolating polynomial
R3(x) using ri, i = 0, 1, 2, 3.
(d) P3(x) in problem 3 of Homework 1, Q3(r) and R3(z) interpolate the same data
set. Verify the uniqueness of interpolating polynomial by showing that Q3 (2) and
R3(x) are the same. (Of course they are also the same as P3 (2) from Problem 3
of Homework 1.)
(6)
Transcribed Image Text:3. Consider the same data set as that in Problem 3 of Homework 1. -2 0 1 2 Xi f(x₁) 5 1 -1 5 (a) Construct the divided difference table for points zi, i = 0, the matlab file divdif.m on Canvas to check your answer. ,3. You may use (b) Construct the Newton forward divided difference interpolating polynomials Q1 (1) (using ri, i = 0, 1), Q2(r) (using zi, i = 0, 1, 2), and Q3(r) (using zi, i = 0, 1, 2, 3). (c) Construct the Newton backward divided difference interpolating polynomial R3(x) using ri, i = 0, 1, 2, 3. (d) P3(x) in problem 3 of Homework 1, Q3(r) and R3(z) interpolate the same data set. Verify the uniqueness of interpolating polynomial by showing that Q3 (2) and R3(x) are the same. (Of course they are also the same as P3 (2) from Problem 3 of Homework 1.) (6)
3. Consider the following data set
Xi -2 0 1 2
f(xi) 5 1 -1 5
(a) Construct the quadratic Lagrange interpolating polynomial P₂(x) that interpo-
lates f(x) at x, for i = 0, 1, 2. Sketch the three Lagrange basis polynomials on
[x0, x2].
(b) Construct the cubic Lagrange interpolating polynomial P3(x) that interpolates
f(x) at x, for i = 0, 1, 2, 3. Sketch the four Lagrange basis polynomials on [xo, x3].
Transcribed Image Text:3. Consider the following data set Xi -2 0 1 2 f(xi) 5 1 -1 5 (a) Construct the quadratic Lagrange interpolating polynomial P₂(x) that interpo- lates f(x) at x, for i = 0, 1, 2. Sketch the three Lagrange basis polynomials on [x0, x2]. (b) Construct the cubic Lagrange interpolating polynomial P3(x) that interpolates f(x) at x, for i = 0, 1, 2, 3. Sketch the four Lagrange basis polynomials on [xo, x3].
Expert Solution
steps

Step by step

Solved in 9 steps with 21 images

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,