Professional Documents
Culture Documents
Tut 1
Tut 1
Semester: Spring
Course: Numerical Methods (MA-204)
Tutorial-1
1. For the data (xi , fi ), i = 0, 1, 2, . . . , n, construct the Lagrange fundamental polynomials li (x) using the information that they satisfy the conditions li (xj ) = 0, for
i 6= j and = 1 for i = j.
2. Let f (x) = ln(1 + x), x0 = 1 and x1 = 1.1. Use linear interpolation to calculate
an approxi- mate value of f (1.04) and obtain a bound on the truncation error.
3. Determine an appropriate step size to use, in the construction of a table of f (x) =
(1 + x)6 on [0, 1]. The truncation error for linear interpolation is to be bounded
by 5 105 .
4. Determine the maximum step size that can be used in the tabulation of f (x) = ex
in [0, 1], so that the error in the linear interpolation will be less than 5104 . Find
also the step size if quadratic interpolation is used.
5. By considering the limit of the three point Lagrange interpolation formula relative
to x0 , x0 + and x1 as 0, obtain the formula
f (x) =
(x x0 )(x x1 ) 0
(x x0 )2
(x1 x0 )(x + x1 2x0 )
f
(x
)+
f
(x
)+
f (x1 )+E(x),
0
0
(x1 x0 )2
(x1 x0 )
(x x0 )
2 4 5
15 5 6
6
19