0% found this document useful (0 votes)
46 views

ECE 427L - Activity 10

The document describes an activity on polynomial interpolation. Students were asked to (a) evaluate a given function at different points, and (b) determine interpolating polynomials of varying degrees to fit the data points, evaluating the function using the polynomials. Higher degree polynomials produced more accurate results, showing that interpolating polynomials of higher degree more accurately fit the data than those of lower degree. The activity demonstrated that polynomial interpolation can be used to approximate functions from data points.

Uploaded by

SM Mecreg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

ECE 427L - Activity 10

The document describes an activity on polynomial interpolation. Students were asked to (a) evaluate a given function at different points, and (b) determine interpolating polynomials of varying degrees to fit the data points, evaluating the function using the polynomials. Higher degree polynomials produced more accurate results, showing that interpolating polynomials of higher degree more accurately fit the data than those of lower degree. The activity demonstrated that polynomial interpolation can be used to approximate functions from data points.

Uploaded by

SM Mecreg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Saint Louis University

School of Engineering and Architecture


Department of Electronics Engineering

ECE 427L
ACTIVITY NO. 10
POLYNOMIAL INTERPOLATION

Submitted by:
CALAUNAN, Joeben A.
MACARAEG, Sophia Marie B.

Submitted to:
Engr. Michael A. Cagaoan
Instructor

DATE SUBMITTED:
May 1, 2020
Saint Louis University
SCHOOL OF ENGINEERING AND ARCHITECTURE

LABORATORY MANUAL

ACTIVITY NO. 10
POLYNOMIAL INTERPOLATION

ACTIVITY OBJECTIVE:
At the end of the activity, the student should be able to write programs to determine the
interpolating polynomial for a given set of data.

EQUIPMENT NEEDED:
PC with Scilab

LABORATORY ACTIVITIES:

Problem and Results:


Given the function f(x) = x2ln (x3+1) over 1≤x≤3

(a) Evaluate f(1.7), f(2.3), and f(2.8) from the given function.
f(1.7) = 5.1359731 f(2.3) = 13.636105 f(2.8) = 24.565896

(b) Determine a quadratic interpolating polynomial fp(x) by considering three equally spaced data points
in the given interval (e.g. x=1, x=2, x=3). Evaluate f(1.7), f(2.3), and f(2.8) using the interpolating
polynomial.

fp(x) = 5.7025872 – 11.562036x + 6.5525956x2

f(1.7) = 4.9841273 f(2.3) = 13.773135 f(2.8) = 24.701236

(c) Determine a cubic interpolating polynomial fp(x) by considering four equally spaced data points in the
given interval. Evaluate f(1.7), f(2.3), and f(2.8) using the interpolating polynomial.

fp(x) = 2.4936079 – 5.6940355x + 3.3637877x2 + 0.529787x3

f(1.7) = 5.1379375 f(2.3) = 13.637682 f(2.8) = 24.552288

(d) Determine a quartic interpolating polynomial fp(x) by considering five equally spaced data points in
the given interval. Evaluate f(1.7), f(2.3), and f(2.8) using the interpolating polynomial.

fp(x) = 1.3791097 – 3.0777772x + 1.2063327x2 + 1.2784625x3 – 0.0929805x4

f(1.7) = 5.1376938 f(2.3) = 13.6348 f(2.8) = 24.568688

ELECTRONICS ENGINEERING DEPARTMENT ECE 427L: NUMERICAL METHODS LABORATORY


Saint Louis University
SCHOOL OF ENGINEERING AND ARCHITECTURE

LABORATORY MANUAL

(e) Determine a quintic interpolating polynomial fp(x) by considering six equally spaced data points in
the given interval. Evaluate f(1.7), f(2.3), and f(2.8) using the interpolating polynomial.
fp(x) = 0.5603407 – 0.7199979x + 1.3932934x2 + 2.6571445x3 – 0.4461147x4 + 0.035068x5

f(1.7) = 5.1361981 f(2.3) = 13.636279 f(2.8) = 24.565187


(f) Do the preceding results show that an interpolating polynomial with a higher degree is more accurate
than an interpolating polynomial with a lower degree? Yes

Do the preceding results show the quadratic interpolating polynomial is significantly more accurate
than the cubic interpolating polynomial? No

Do the preceding results show the quintic interpolating polynomial is significantly more accurate
than the quartic interpolating polynomial? Yes

OBSERVATIONS:

In this activity, we evaluate f(1.7), f(2.3), and f(2.8) from the given function of x which is x2ln

(x3+1) over 1≤x≤3. We then determine the interpolating polynomial by considering different data
points in given interval such as three, four, five and six equally spaced data points. We noticed that the
higher degree of the equally spaced data points with the given interval the more accurate results we
get. Furthermore, the interpolating polynomial differs as the data points increases. However, we
noticed that we get a very inaccurate results in f(1.7) with three equally spaced data points.

CONCLUSIONS:

In this activity, we performed ‘Polynomial Interpolation’ where we consider increasing equally


spaced data points. By the given data, we can say that an interpolating polynomial with a higher
degree is more accurate than an interpolating polynomial with a lower degree. Thus, Polynomial
Interpolation is the interpolation of a given data set by the polynomial of lowest possible degree that
passes through the points of the database. Moreover, we can say that For any function f(x) continuous
on an interval [a,b] there exists a table of nodes for which the sequence of interpolating polynomial
converges to f(x) uniformly on [a,b]. For practical use, interpolation is frequently used to scale and to
convert some sampling rate of digital signals.

ELECTRONICS ENGINEERING DEPARTMENT ECE 427L: NUMERICAL METHODS LABORATORY

You might also like