Docsity

Interpolation-Methods of Numerical Analysis-Assignment, Exercises of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Problem Sheet on Interpolation
Q -1. Find y(3.2) from the following data:
x : 0 1 2 3 4 5
y: 0 1 14 51 124 245
using:
(a) Gregory – Newton Forward Difference interpolation Formula
(b) Gregory – Newton Backward Difference interpolation Formula
(c) Lagrange Interpolation Formula
(d) Newton’s Divided Difference interpolation Formula
Comment on the accuracy of your results.
Q -2. Make Lagrange Polynomial for the data:
(xi , yi) = (-2, 0), (0, 2), (1, 0), (2, 4)
and hence find: y (1.1), y (2.1), y (2.5)
Comment on the error involved in these interpolated values
Q -3. Using a suitable interpolation formula, find
(2.3) from the data
x : 0 1 4 5
(x): 0 0.25 16 31.25
Q -4. What is the degree of the interpolation polynomial for the data
(1, 5), (2, 18), (3, 37), (4, 62), (5, 93)
Q -5. The following table gives pressure of a steam at a given temperature. Using
Newton’s formula, compute the pressure for a temperature of 142oC.
_______________________________________________________
Temperature, oC 140 150 160 170 180
Pressure, kgf/cm2 3.685 4.854 6.302 8.076 10.225
__________________________________________________________________________________
Q -6. Find Newton’s backward interpolating polynomial for the following data:
________________________________________________
x 1 2 3 4 5
y 1 -1 1 -1 1
_________________________________________________________________________
docsity.com
pf2

Partial preview of the text

Download Interpolation-Methods of Numerical Analysis-Assignment and more Exercises Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Problem Sheet on Interpolation

Q -1. Find y(3.2) from the following data:

x : 0 1 2 3 4 5 y: 0 1 14 51 124 245 using: (a) Gregory – Newton Forward Difference interpolation Formula (b) Gregory – Newton Backward Difference interpolation Formula (c) Lagrange Interpolation Formula (d) Newton’s Divided Difference interpolation Formula

Comment on the accuracy of your results.

Q -2. Make Lagrange Polynomial for the data:

(xi , yi) = (-2, 0), (0, 2), (1, 0), (2, 4) and hence find: y (1.1), y (2.1), y (2.5) Comment on the error involved in these interpolated values

Q -3. Using a suitable interpolation formula, find  (2.3) from the data

x : 0 1 4 5

 (x): 0 0.25 16 31.

Q -4. What is the degree of the interpolation polynomial for the data

(1, 5), (2, 18), (3, 37), (4, 62), (5, 93)

Q -5. The following table gives pressure of a steam at a given temperature. Using Newton’s formula, compute the pressure for a temperature of 142oC.


Temperature, oC 140 150 160 170 180 Pressure, kgf/cm^2 3.685 4.854 6.302 8.076 10.


Q -6. Find Newton’s backward interpolating polynomial for the following data: ________________________________________________ x 1 2 3 4 5 y 1 -1 1 -1 1


docsity.com

Q -7. A second degree polynomial passes through (0, 1) (1, 3) (2, 7) and (3, 13). Find the polynomial, using Newton’s forward difference formula.

Q -8. Find the interpolating polynomial for the function f ( x ) given by __________________________________________ x 0 1 2 5 y=f(x) 2 3 12 147


Q -9. Find the interpolating polynomial for the following data using Lagrange’s formula ___________________________________________________ x 1 2 - y =f(x) 3 -5 4


Q -10. Find the interpolating polynomial by (i) Newton’s divided difference formula (ii) Lagrange’s formula, for the following data and hence show that both the methods give raise to the same polynomial. ___________________________________________________ x 1 2 3 5 y 0 7 26 124


Answers

Q -1. 62.336 Q -2. x^3 -3 x + 2

Q -3. 3.04175 Q -4. 2

Q -5. 3.8988 Kg f / cm^2 Q -6. y (x) = 1 / 3 (2x^4 – 24x^3 + 100x^2 – 168x + 93)

Q -7. f (x) = x^2 +x + 1 Q -8. f (x)^3 + x^2 – x + 2

Q -9. y = - 1 / 30 (39x^2 + 123 x – 252) Q -10. x^3 – 1

docsity.com