INTERPOLATION Prof. Samuel Okolie, Prof. Yinka Adekunle & Dr

Slides:



Advertisements
Similar presentations
Section 11.6 – Taylor’s Formula with Remainder
Advertisements

ES 240: Scientific and Engineering Computation. Chapter 17: Numerical IntegrationIntegration  Definition –Total area within a region –In mathematical.
CSE 330: Numerical Methods
Chapter 3. Interpolation and Extrapolation Hui Pan, Yunfei Duan.
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
ES 240: Scientific and Engineering Computation. InterpolationPolynomial  Definition –a function f(x) that can be written as a finite series of power functions.
Infinite Sequences and Series
Numerical Integration Lecture (II)1
KFUPM SE301: Numerical Methods Topic 5: Interpolation Lectures 20-22:
Curve-Fitting Interpolation
Interpolation Used to estimate values between data points difference from regression - goes through data points no error in data points.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 181 Interpolation Chapter 18 Estimation of intermediate.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Interpolation Chapter 18.
Chapter 6 Numerical Interpolation
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 21 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
CpE- 310B Engineering Computation and Simulation Dr. Manal Al-Bzoor
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Today’s class Numerical Integration Newton-Cotes Numerical Methods
Interpolation. Interpolation is important concept in numerical analysis. Quite often functions may not be available explicitly but only the values of.
Curve Fitting and Interpolation: Lecture (I)
6-7: Investigating Graphs of Polynomial Functions.
Consider the following: Now, use the reciprocal function and tangent line to get an approximation. Lecture 31 – Approximating Functions
11 INFINITE SEQUENCES AND SERIES Applications of Taylor Polynomials INFINITE SEQUENCES AND SERIES In this section, we will learn about: Two types.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Applied Numerical Methods With MATLAB ® for Engineers.
Copyright © Cengage Learning. All rights reserved. 11 Infinite Sequences and Series.
Polynomial Interpolation You will frequently have occasions to estimate intermediate values between precise data points. The function you use to interpolate.
Chapter 8 Curve Fitting.
Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values at intermediate.
Principles of Extrapolation
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
R. Kass/W03 P416 Lecture 5 l Suppose we are trying to measure the true value of some quantity (x T ). u We make repeated measurements of this quantity.
Copyright © Cengage Learning. All rights reserved Applications of Taylor Polynomials.
INTEGRALS 5. INTEGRALS In Chapter 3, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.
Interpolation - Introduction
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
1 Approximating functions, polynomial interpolation (Lagrange and Newton’s divided differences) formulas, error approximations.
CHAPTER 3 NUMERICAL METHODS
Welcome to Precalculus!
Announcements Topics: Work On:
Chapter 7 Numerical Differentiation and Integration
Numerical Analysis Lecture 42.
Copyright © Cengage Learning. All rights reserved.
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
Chapter 18.
1 Functions and Applications
Section 11.3 – Power Series.
Numerical Integration Formulas
Chapter 22.
2.1 Equations of Lines Write the point-slope and slope-intercept forms
INTERPOLATION Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values.
Interpolation.
Class Notes 18: Numerical Methods (1/2)
Chapter 18.
Copyright © Cengage Learning. All rights reserved.
Today’s class Multiple Variable Linear Regression
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MBF1413 | Quantitative Methods Prepared by Dr Khairul Anuar
Interpolasi Pertemuan - 7 Mata Kuliah : Analisis Numerik
Numerical Computation and Optimization
INTERPOLASI.
5.3 Higher-Order Taylor Methods
SKTN 2393 Numerical Methods for Nuclear Engineers
SKTN 2393 Numerical Methods for Nuclear Engineers
Numerical Computation and Optimization
9.7 Taylor Polynomials & Approximations
1 Newton’s Method.
Lagrange Remainder.
Presentation transcript:

INTERPOLATION Prof. Samuel Okolie, Prof. Yinka Adekunle & Dr INTERPOLATION Prof. Samuel Okolie, Prof. Yinka Adekunle & Dr. Seun Ebiesuwa

In many areas of science, we are often given a set of discrete values of a function either in the form of a table of values or a set of experimental measurements which actually represent a set of points along a continous function. Given these discrete values, we wish to find intermediate values. If the given values of the function are reasonably exact (eg, as may be given in a trigonometric table) the process of finding intermediate values is called interpolation.

If, on other hand the given values are not very accurate (eg If, on other hand the given values are not very accurate (eg. If they come from actual measurements) then we need to perform a different process called CURVE FITTING which tries to average out some of the errors. Polynomial interpolation is thus the most common method used to estimate values between precise data points. Examples of interpolation Look at the problem of finding the sine of 6.5 degree. Let us assume that we are given a table of sines where the values are given for steps of one degree. If we have the task of finding sin 6.50, we have 3 options

Use a Taylors series to calculate the sine to as much accuracy as we deserve Note: [ sin x = x - x3/3! + x5/5! – x7/7! + x9/9! ……]  Use a book of tables which lists the sines in smaller steps of perhaps 0.5 or 0.1 degree and look up the exact value. Use the sines for 6 and 7 degrees given in the available table, try to interpolate for the value of 6.5 The above example illustrates common characteristics of interpolation problems.

We usually know exactly what function we are considering and probably even have an exact equation which could be used to find the exact answer (eg. sine (x) from Taylor’s series). We may for some reason prefer to use table look-up. But if the available table does not include all the desired values of the argument or if the table having all the values of the desired information is too large to fit into the computer memory, we have to use interpolation along with a less detailed table. We are starting with a set of tabulated points which are presumably correct to some desired accuracy.

CURVE FITTING In curve fitting, we may not have such a set of exact points available, eg. While testing an automobile for its acceleration the car is started from a halt, on a level road, and driven at max acceleration until its speed reaches 60miles/hr. At the same time, speedometer readings are made at 1 second intervals. When the speed is plotted as a function of time we have a set of points as below:

POLYNOMIAL INTERPOLATION The general formula for nth order polynomial is: For n+1 data points there is one and only one polynomial of order n that passes through all the points e.g, there is only one straight line (i.e, a first order polynomial) that connects two points. Similarly only one parabola connects a set of 3 points (2nd order, quadratic or parabolic mean the same thing). Only one third order (cubic ) polynomial can connect 4 points

Polynomial Interpolation consist of determining the unique nth – order polynomial that fits (n+1) data points. The Polynomial then provides a formula to compute intermediate values.

Linear Interpolation The simplest form of interpolation is to connect two data points with a straight line, as depicted graphically below. (see Fig 2.1). Linear interpolation is the process where we approximate a small portion of a curve with a straight line which passes through 2 known points of the curve for accuracy we choose the two points as close to the desired points as possible.

In general the smaller the interval between the data points, the better the approximation.

f2(x) = 0 + 0.4620981 (x – 1) - 0.0518731(x-1)(x – 4) therefore: At x= 2 f2(2) = 0.5658443 this represents a relative error of 18.4% this the curvature introduced by the quadratic formula improves the interpolation compared with result obtained using straight line.