Bangladesh University of Engineering and Technology
Department of Electrical and Electronic Engineering
Dhaka-1205, Bangladesh
Numerical Technique Laboratory
EEE 212
Experiment 3: Interpolation
Submitted By:
Name: Umma Kulsum Bushra
Level: 2/Term: 1
Student ID: 2306157
Section: C1
Name of Partner: Nazmus Tahsan
Group: 14
Student ID: 2306158
Date of Performance: 15.12.2025
Date of Submission: 06.01.2026
Question:
Exercise 1. Construct a polynomial such that C(x)= A(x)*B(x) where
A(x)= 3x^2+2x-4 and B(x)= 2x^3-2, Also find the roots of A(x), B(x)
and C(x).
Input Code:
Output:
Question:
Exercise 2. Plot the curve corresponding to table1 using linear
interpolation.
Exercise3. y = sin(x); x = 0:10; x(i) = 0 : 0.25 :10; Construct the
interpolant y and plot.
Given points:
Exercise 2:
Input Code:
Output:
Exercise 3:
Input Code:
Output:
Question:
Exercise 4. Write a MATLAB program implementing Lagrange
Polynomial.
Exercise 5. Construct a Lagrange interpolating polynomials for the data
points given in table 1.
Input Code:
Output:
Question:
Exercise 6. Write a MATLAB Program implementing the algorithm of
Newton polynomial.
Exercise 7. Construct a Newton interpolating polynomials for the data
points given in table 1.
Input Code:
Output: