Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Laboratory Work No.

4
INTERPOLATION

OBJECTIVE:

a. Express the given set of points using the three forms of single polynomials.
b. Use quadratic interpolation to represent your given data set.

EQUIPMENT:

a. Personal computer
b. Calculator

PROCEDURES:

a. You will be given three hours to complete this laboratory exercise. You are
free to use GNU Octave to aid your calculations.
b. Letting the sum of the last two digits of your ID number (assume the value of
50 for 00) as variable N, the following data set is gathered from a test with five
repetitions.

Test x y

1 12.50 N

2 N/2 3.27

3 15.75 N+5

4 9.25 N-2

5 2N 24.89

c. Express the data set as single polynomial in the following forms:


i. Standard
ii. Lagrange
iii. Newton’s
d. Express the data set into individual quadratic splines.
e. Using interpolation, evaluate the value of y when x is equal to 10.27.
f. Check your results using GNU Octave.

RESULTS:
Standard
Lagrange
Newton’s
Quadratic Splines

You might also like