Tutorial2d DM
Tutorial2d DM
(a) Use Lagrange interpolation to find a polynomial p(x) of degree at most two that agrees
with this function at the points x0 = 0, x1 = 1, and x2 = 2.
(b) Find a bound on |f (x) − p(x)| for each x ∈ [0, 2].
2. Let f (x) = 3x for every x ∈ R. Let p(x) be the polynomial of degree at most two that
agrees with this function at the points x0 = 0, x1 = 1, and x2 = 2. Use divided differences
to construct p(x).
4. Let P3 (x) be the interpolating polynomial for the data (0, 0), (0.5, y), (1, 3) and (2, 2). Find
y if the coefficient of x3 in P3 (x) is 6.
5. Let f (x) = ex for x ∈ [0, 2]. Approximate f (0.25) using linear interpolation with x0 = 0
and x1 = 0.5.
x0 = 0.0 f [x0 ]
f [x0 , x1 ]
50
x1 = 0.4 f [x1 ] f [x0 , x1 , x2 ] =
7
f [x1 , x2 ] = 10
x2 = 0.7 f [x2 ] = 6
1
8. Define interpolating polynomial. State Weierstrass Approximation Theorem. Write the
explicit form of
10. Construct the Lagrange interpolating polynomial of degree 2 for f (x) = sin(ln x) on the
interval [2, 2.6] with the points x0 = 2, x1 = 2.4, x2 = 2.6. Find a bound for the absolute
error.