Sale!

Assignment # 2 CSE 330 

Original price was: $35.00.Current price is: $30.00.

Category:
Rate this product

Assignment # 2 CSE 330
1. Consider the following data points given below and answer the question based on these data:
x 0 1 2
f(x) 0 1 0
(a) (4 marks) Sketch the given data, and write what type of interpolation polynomial is expected. Also write the
properties of the interpolated curve (that is, write if the curve is facing up, down, right or left, sfifted up,
down, left or right, etc).
(b) (3 marks) Compute the Lagrange basis of the interpolation polynomial for the given data.
(c) (8 marks) Compute the interpolation polynomial, and also express it in (i) natural or Taylor basis and also
(ii) in the form a(x−b)
2 +c, where the parameters represent stretching and shifting parameters. Finally make
comments if these parameters agree and/or disagree with the properties found in Part-(a).
2. Read the following and answer accordingly:
(a) (6 marks) Find an interpolating polynomial of appropriate degree using the Newton’s divided-difference method
for f(x) = cos(x) . Consider the nodes [0, π/2, π] .
(b) (2 marks) Use the interpolated polynomial to find an approximate value at π/4, and compute the relative
error at π/4.
(c) (3 marks) Add a new node −π/2 to the above nodes, and find the interpolating polynomial.
(d) (4 marks) Compute the upper bound of the interpolation error of the interpolating polynomial with four nodes.
Motto: Mathematics is NOT difficult, but what is difficult is to believe that mathematics is NOT difficult.

Scroll to Top