You are on page 1of 9

MARCH 11, 2020 GOOD MORNING !

☺ HEHE
BB COLLABORATE ULTRA SESSION I WILL TAKE THE ATTENDANCE BY 10:45AM
COURSE CODE/SECTION: CE50P-2/A2 PLEASE USE THE CHAT BOX FOR COMMENTS
SCHEDULE: 10:30AM-1:30PM, WEDNESDAY LECTURE STARTS AT 11AM

I SENT AN ANNOUNCEMENT OF THE BB


COLLAB ULTRA SESSION FOR A2 ===
BOTH GROUPS SHOULD BE PRESENT
NUMERICAL METHODS
INTERPOLATION
interpolation is the process of finding an
approximation to a function at some point
INTERPOLATION intermediate to 2 known function values

➢ process of finding and evaluating a function


whose graph goes through a set of points.

polynomial function
➢ interpolating function

spline function
What was done was to determine the straight line connecting
(or interpolating) the known values and evaluate it at the
INTERPOLATION Intermediate value
This evaluation was taken to approximate the desired but unknown function value.
Although modern calculators make this method obsolete for
approximation, it is still used for functions that are extremely difficult or
expensive to compute or for real- time sampled data.
(x3,y3)

(x2,y2)

(xn,yn)
(x1,y1)
(x0,y0)

Objective: Evaluate the interpolating function at specified value/s of x not given in the
tabulated values.
Linear Interpolation: Requirement >> two points
Recall that through any
2 points in a plane
(x0, y0) and (x1, y1) with
x0 = x1 (x1,y1)
there is a unique straight
line that passes through
them: error
(x0,y0)
Analytic Geometry: x
Two-Point Form
( x1 − x ) y0 + ( x0 − x ) y1
P1 ( x ) =
x1 − x0
= y0 +  ( y1 − y0 )
x − x0
where  =
x1 − x0
This line is said to interpolate the data {(xi, yi) | i = 0, 1}.

Also, similar to this, it is a fact/ it is true for 3 data


points {(xi, yi) | i = 0, 1, 2}, with x0, x1, and x2 distinct.

There is a unique quadratic that passes through, or


interpolates, them.

Finding this quadratic and/or higher order polynomials


for more data points is the topic of course outcome 2.
Given n+1 data points {(xi, yi) | i = 0, 1, . . ., n} with all xi,
i = 0, 1, . . . , n distinct. In many texts the values xi,
i = 0, 1, . . . , n are called the nodes.

A function F(x) that satifies the conditions F(xi) = yi,


i= 0, 1, . . . , n is said to interpolate the data.

The process of finding F(x) is called interpolation and


F(x) is called an interpolating function.
If F(x) = p(x) is a polynomial then
p(x) is called an interpolating polynomial.
ILLUSTRATION: Given the following table of values
CLASSWORK
Submit word file of Xi Yi Insert picture of slide containing
classwork in BB content problem
area 3.1 20.1810
3.2 22.5280 Solution could be presented
Word file name:
using EQUATION (Word
CW2A-SURNAME 3.3 25.0470 application Tool)
Follow template or may insert a picture of
3.4 27.7440
Activity Number: handwritten solution
CW2A 3.5 30.6250
Deadline:
Activity Title: March 11, 2020; 1:30PM
3.6 33.6960
Linear Interpolation
( x1 − x ) y0 + ( x0 − x ) y1
P1 ( x ) =
x1 − x0
Approximate y when x = 3.34, 3.57
and 3.22 using linear interpolation. = y0 +  ( y1 − y0 )
x − x0
where  =
x1 − x0

THE LINK FOR SUBMISSION IS ALREADY AVAILABLE


SEE YOU THIS FRIDAY’S BB COLLAB
ULTRA SESSION
YOU MAY LEAVE THE BB COLLAB
ROOM NOW …
THANK YOU …

You might also like