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.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter4: Polynomial And Rational Functions
Section4.3: Zeros Of Polynomials
Problem 4E
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
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage