(a) (i) The data below are generated using function f(x) = x cosx-2x² + 3x - 1. Use appropriate Lagrange interpolating formula to approximate f(0.25). 0.0 0.1 0.2 0.3 x f(x) -1.0 0.4 -0.62049958 -0.28398668 0.00660095 0.24842440 1 (ii) Use Lagrange error formula to find a bound for the error and compare the bound to the actual error. (b) Approximate F(0.05) using the following data and Newton's forward- difference formula,

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter4: Calculating The Derivative
Section4.2: Derivatives Of Products And Quotients
Problem 35E
icon
Related questions
Question

help

Question 2
(a) (i) The data below are generated using function
f(x) = x cosx-2x² + 3x - 1.
Use appropriate Lagrange interpolating formula to approximate f(0.25).
0.0
0.2
0.3
-1.0
x
f(x)
0.1
-0.62049958 -0.28398668 0.00660095 0.24842440
1
x
f(x)
(ii) Use Lagrange error formula to find a bound for the error and compare
the bound to the actual error.
(b) Approximate F(0.05) using the following data and Newton's forward-
difference formula,
0.4
n
Pn = Σ Σ (1) Δ
r=0
A' f(xo), s =
x-xo
h
Use 6 significant figures throughout your computations.
0.2
0.4
0.6
0.8
0.0
1.00000 1.22140 1.49182 1.82212 2.22554
Transcribed Image Text:Question 2 (a) (i) The data below are generated using function f(x) = x cosx-2x² + 3x - 1. Use appropriate Lagrange interpolating formula to approximate f(0.25). 0.0 0.2 0.3 -1.0 x f(x) 0.1 -0.62049958 -0.28398668 0.00660095 0.24842440 1 x f(x) (ii) Use Lagrange error formula to find a bound for the error and compare the bound to the actual error. (b) Approximate F(0.05) using the following data and Newton's forward- difference formula, 0.4 n Pn = Σ Σ (1) Δ r=0 A' f(xo), s = x-xo h Use 6 significant figures throughout your computations. 0.2 0.4 0.6 0.8 0.0 1.00000 1.22140 1.49182 1.82212 2.22554
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,