Bsc CSIT Semester 3 – Numerical Method – Unit 2: Interpolation and Regression (8 Hrs.)
Comprehensive questions and detailed answers for Unit 2: Interpolation and Regression (8 Hrs.). Perfect for exam preparation and concept clarity.
Write an algorithm and program to implement Lagrange interpolation method.
Consider the following data points estimate the f(0.6) using Newton’s interpolation formula.
| x | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 |
|---|---|---|---|---|---|
| f(x) | 2.68 | 3.04 | 3.38 | 3.69 | 3.97 |
What is regression analysis? Fit a second order polynomial for the following data values.
| x | 2 | 4 | 6 | 8 | 10 |
|---|---|---|---|---|---|
| y | 1.4 | 2.0 | 2.4 | 2.6 | 2.8 |
Given the data points below
| X | 1.0 | 3.0 | 4.0 |
|---|---|---|---|
| f(x) | 1.5 | 4.5 | 9.0 |
Find cubic spline which belongs to and estimate using cubic splines.
Define the terms interpolation and extrapolation. Write down the algorithm and program for Newton’s divided difference interpolation.
Construct Newton’s backward difference table for given data points and approximate the value of f(x) at .
Fit the quadratic curve through the following data points and estimate the value of f(x) at x=2.
How spline interpolation differs with the Langrage’s interpolation? Estimate the value of and using cubic spline interpolation from the following data.
Fit the quadratic function for the data given below using least square method.
How interpolation differs from regression? Write down algorithm and program for Lagrange interpolation.
Define the terms true error and relative error? Use Horner’ method to evaluate polynomial at and write down its algorithm.
Construct Newton’s forward difference table for the given data points and approximate the value of at
Fit the curve through the following data points.
What is Newton’s interpolation? Obtain the divided difference table from the following data set and estimate the f(x) at and
What is linear regression? Fit the linear function to the following data
What are the problems with polynomial interpolation for a large number of data set? How such problems are addressed? Explain with an example.
Sample Questions
Consider the following data points estimate the f(0.6) using Newton’s interpolation formula. |x |0.1 |0.2 |0.3 |0.4 |0.5| |--|--|--|--|--|--| |f(x)| 2.68 |3.04| 3.38| 3.69| 3.97|
What is regression analysis? Fit a second order polynomial for the following data values. |x| 2 |4 |6| 8 |10| |--|--|--|--|--|--| |y |1.4 |2.0 |2.4 |2.6 |2.8|
Given the data points below |X |1.0 |3.0 |4.0| |-|-|-|-| |f(x)| 1.5| 4.5| 9.0| Find cubic spline which belongs to \(1<=x<=3\) and estimate \(f(2)\) using cubic splines.
Define the terms interpolation and extrapolation. Write down the algorithm and program for Newton’s divided difference interpolation.
And more questions available on this page.