Question 2 Let f(x) = cos() and P(x) be the interpolation polynomial of degree at most 3 which agrees with f(x) at To = -1, x1 = 0, x2 = 1, x3 = 2. (a) Compute P(0.5) using Neville's method.

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

Part B

all computations, you could give your answers to five decimal places if needed

Question 2
Let f(x) = cos(T) and P(x) be the interpolation polynomial of degree at most 3 which agrees with f(x) at
To = -1, x1 = 0, x2 = 1, x3 = 2.
(a)
Compute P(0.5) using Neville's method.
(b)
Express P(x) using Newton's divided difference formula. Use this result to compute P(0.5).
(c)
Give a bound for the absolute error |f(0.5) – P(0.5)|.
Page 3
Transcribed Image Text:Question 2 Let f(x) = cos(T) and P(x) be the interpolation polynomial of degree at most 3 which agrees with f(x) at To = -1, x1 = 0, x2 = 1, x3 = 2. (a) Compute P(0.5) using Neville's method. (b) Express P(x) using Newton's divided difference formula. Use this result to compute P(0.5). (c) Give a bound for the absolute error |f(0.5) – P(0.5)|. Page 3
Expert Solution
Step 1

Given:

fx=cosπx2

xo=-1

x1=0

x2=1

x3=2

Step 2

fxo=f-1=cos-π2=0

f0=1, f1=0, f2=-1

Newton's divided difference table,

x f(x) first order second-order third order
-1 0 1-00+1=1 -1-11+1=-1 0+13=0.333
0 1 0-11=-1 0  
1 0 -1-02-1=-1    
2 -1      
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Series
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
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,