You are on page 1of 7

Interpolation vs.

Extrapolation: What’s
the Difference?
• Two terms that we often get confused
are interpolation and extrapolation.

• Here’s the difference:

• Interpolation refers to predicting values that


are inside of a range of data points.

• Extrapolation refers to predicting values that


are outside of a range of data points.
Example: Interpolation vs. Extrapolation

• When we use the fitted regression model to predict the


values of points inside the existing range of data points it is
known as interpolation.
• Conversely, when we use the fitted regression model to predict the values of
Horner’s Method
• Horner's Method, also known as Horner's Rule or Horner's Scheme, is
a technique used for efficiently evaluating polynomials.
• Named after the British mathematician William George Horner.
• This method allows us to compute the value of a polynomial in a
specific form without explicitly expanding and evaluating each term
separately.
Polynomial Form:

• Horner's Method is particularly useful for polynomials in the form


P(x)=+ + ……….. … …… +
Algorithm:
• Start
• Enter the degree of polynomial,say n
• Enter the value at which polynomial to be evaluated,x
• Initially set =
• While n>0
*x
• End While Loop
• Display the value of which is the value of polynomial at x
• End
Benefits&Applications
1.Benefits: Horner's Method is advantageous because it reduces the
number of multiplications required compared to expanding the
polynomial. This efficiency is particularly important in computational
applications, especially when dealing with high-degree polynomials.

2.Applications: Horner's Method is commonly used in numerical


analysis, computer algebra systems, and various computational
algorithms where polynomial evaluation is a frequent operation.

You might also like