ASSIGNMENT: Numerical Analysis Submitted To: Miss Sidra Ayub Submitted by
ASSIGNMENT: Numerical Analysis Submitted To: Miss Sidra Ayub Submitted by
Submitted by:
QUESTION:
ANSWER:
1- Interpolation:
…, yn = f(xn) are known, and if x0 < x < xn, then the estimated value of f(x) is said to be
an interpolation.
1
An interpolation of a finite set of points on an epitrochoid. The points in red are
The interpolated curves have polynomial formulas much simpler than that of the
2- Extrapolation:
observation range, the value of a variable on the basis of its relationship with
2
Example illustration of the extrapolation problem, consisting of assigning a
meaningful value at the blue box, at x=7, given the red data points.
3- Inverse Interpolation:
Sometimes we have to find the value of x for a given values of y not in the table.
meaning that it is an algorithm for solving equations of the form f(x) = 0. The idea is
rarely used on its own, but it is important because it forms part of the
popular Brent's method.
3
4- Lagrange Interpolation:
interpolation. For a given set of points (xj and yj) with no two xj values equal, the
value xj the corresponding value yj, so that the functions coincide at each point.
through all four control points, and each scaled basis polynomial passes through its
4
respective control point and is 0 where x corresponds to the other three control
points
5- Spline interpolation:
low degree polynomials for the spline. Spline interpolation avoids the problem
5
Interpolation with cubic splines between eight points. Hand-drawn technical
drawings were made for shipbuilding etc. using flexible rulers that were bent to