Docsity

Math 151A HW #6: Hermite Interpolation, Numerical Diff., Richardson's Extrapolation, Assignments of Mathematics

Toggle sidebar
bg1
Math 151A Homework #6
1. Hermite interpolation
Find a polynomial approximation to the function f(x) = log(x) using the value of f(x) at
x0= 1 and x1=e, and the derivative of f(x) at x0. Plot your answer.
2. numerical differentiation
Given the data in the following table, compute a 3-point approximation to the derivative at
each of the points.
x f(x)
0 1
1 2
2 5
3. error for numerical differentiation
Compute an error bound for using a 3-point centered difference formula to compute the
second derivative of f(x) = sin(x) using the points xk= 0, π/8, π/4.
4. Richardson’s extrapolation
Suppose N(h) is an approximation to Msuch that
M=N(h) + K2h2+K4h4+K6h6+· · ·
where Kjis constant. Use the values N(h), N(h/3), and N(h/9) to produce an order h6
approximation to M.

Partial preview of the text

Download Math 151A HW #6: Hermite Interpolation, Numerical Diff., Richardson's Extrapolation and more Assignments Mathematics in PDF only on Docsity!

Math 151A Homework #

  1. Hermite interpolation Find a polynomial approximation to the function f (x) = log(x) using the value of f (x) at x 0 = 1 and x 1 = e, and the derivative of f (x) at x 0. Plot your answer.
  2. numerical differentiation

Given the data in the following table, compute a 3-point approximation to the derivative at each of the points.

x f (x) 0 1 1 2 2 5

  1. error for numerical differentiation

Compute an error bound for using a 3-point centered difference formula to compute the second derivative of f (x) = sin(x) using the points xk = 0, π/ 8 , π/4.

  1. Richardson’s extrapolation

Suppose N (h) is an approximation to M such that

M = N (h) + K 2 h^2 + K 4 h^4 + K 6 h^6 + · · ·

where Kj is constant. Use the values N (h), N (h/3), and N (h/9) to produce an order h^6 approximation to M.