SlideShare a Scribd company logo
1
Numerical Analysis
Lecture 5
Interpolation
2
• Interpolation enables us to estimate the data points in between the
given data.
𝑦 = 𝑦1 +
𝑦2 − 𝑦1
𝑥2 − 𝑥1
× 𝑥 − 𝑥1
• Linear Interpolation Formula:
Lagrange Interpolation
3
• The Lagrange interpolation is a method used to approximate the
function of the line or curve that passes through a set of points.
• The degree of Lagrange interpolating polynomial is determined based
on the number of known points
degree = 𝑛 − 1
where n is the number of known points.
Linear Lagrange Interpolation
4
Given two points 𝑥1, 𝑦1 and 𝑥2, 𝑦2 ,
the linear Lagrange interpolating formula is given by:
𝑦 =
𝑥 − 𝑥2
𝑥1 − 𝑥2
𝑦1 +
𝑥 − 𝑥1
𝑥2 − 𝑥1
𝑦2
Linear Lagrange Interpolation
5
Example
Determine the value of y at x = 8 given some set of values (2,6), (5,9) by
using the Lagrange interpolation formula.
Solution
Since we have two known points (𝑛 = 2), then we will use the linear
Lagrange formula.
𝑦 =
(𝑥 − 𝑥2)
(𝑥1 − 𝑥2)
𝑦1 +
(𝑥 − 𝑥1)
(𝑥2 − 𝑥1)
𝑦2
Linear Lagrange Interpolation
6
𝑦 =
(𝑥 − 𝑥2)
(𝑥1 − 𝑥2)
𝑦1 +
(𝑥 − 𝑥1)
(𝑥2 − 𝑥1)
𝑦2
Given, 𝑥1 = 2, 𝑦1 = 6, 𝑥2 = 5, 𝑦2 = 9
The value of y at x = 8 will be:
𝑦 =
(8 − 5)
(2 − 5)
× 6 +
(8 − 2)
(5 − 2)
× 9 =
3
−3
× 6 +
6
3
× 9 = −6 + 18 = 12
Second degree Lagrange interpolation
7
Given three points 𝑥1, 𝑦1 , 𝑥2, 𝑦2 and 𝑥3, 𝑦3
the second degree Lagrange interpolating formula that approximates
the curve that passes through the three points is given by:
𝑦 =
𝑥 − 𝑥2 𝑥 − 𝑥3
𝑥1 − 𝑥2 𝑥1 − 𝑥3
𝑦1 +
𝑥 − 𝑥1 𝑥 − 𝑥3
𝑥2 − 𝑥1 𝑥2 − 𝑥3
𝑦2 +
𝑥 − 𝑥1 𝑥 − 𝑥2
𝑥3 − 𝑥1 𝑥3 − 𝑥2
𝑦3
Second degree Lagrange interpolation
8
Example
Given the three data points (2, 0.5), (2.75, 0.36), and (4, 0.25), find the
second Lagrange interpolating polynomial for f (3).
9

More Related Content

What's hot

System of Linear inequalities in two variables
System of Linear inequalities in two variablesSystem of Linear inequalities in two variables
System of Linear inequalities in two variables
Anirach Ytirahc
 
Pythagorean Theorem
Pythagorean TheoremPythagorean Theorem
Pythagorean Theorem
Edrin Jay Morta
 
Arithmetic means
Arithmetic meansArithmetic means
Arithmetic means
MartinGeraldine
 
Geometric mean
Geometric meanGeometric mean
Geometric mean
MartinGeraldine
 
Solving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICSSolving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICS
CoreAces
 
Arithmetic series
Arithmetic seriesArithmetic series
Arithmetic series
MartinGeraldine
 
Linear Equations
Linear Equations Linear Equations
Linear Equations
TharunSangeeth
 
Solution of linear equation & inequality
Solution of linear equation & inequalitySolution of linear equation & inequality
Solution of linear equation & inequalityflorian Manzanilla
 
Solving equations
Solving equationsSolving equations
Solving equations
Russell Shaw
 
Introduction To Equations
Introduction To EquationsIntroduction To Equations
Introduction To Equations
gemmabean
 
Linear Equation in one variables 3
Linear Equation in one variables 3Linear Equation in one variables 3
Linear Equation in one variables 3NG YIT HOE
 
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPTCLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
05092000
 
Math-80-module1.1
Math-80-module1.1Math-80-module1.1
Math-80-module1.1
warrior28
 
Quadratic Equation solved by Square root property
Quadratic Equation solved by Square root propertyQuadratic Equation solved by Square root property
Quadratic Equation solved by Square root property
Reynz Anario
 
Linear Equations
Linear EquationsLinear Equations
Linear Equations
rfant
 
Modeling 2 Step Equations
Modeling 2 Step EquationsModeling 2 Step Equations
Modeling 2 Step Equationsbujols
 
Linear Equation In one variable class 7
 Linear Equation In one variable class 7 Linear Equation In one variable class 7
Linear Equation In one variable class 7
Poulami Choudhury
 
Linear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One VariableLinear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One Variablemisey_margarette
 
Systems of Linear Equations Graphing
 Systems of Linear Equations Graphing  Systems of Linear Equations Graphing
Systems of Linear Equations Graphing
PLeach
 
LINEAR EQUATION IN TWO VARIABLES
LINEAR EQUATION IN TWO VARIABLESLINEAR EQUATION IN TWO VARIABLES
LINEAR EQUATION IN TWO VARIABLES
Manah Chhabra
 

What's hot (20)

System of Linear inequalities in two variables
System of Linear inequalities in two variablesSystem of Linear inequalities in two variables
System of Linear inequalities in two variables
 
Pythagorean Theorem
Pythagorean TheoremPythagorean Theorem
Pythagorean Theorem
 
Arithmetic means
Arithmetic meansArithmetic means
Arithmetic means
 
Geometric mean
Geometric meanGeometric mean
Geometric mean
 
Solving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICSSolving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICS
 
Arithmetic series
Arithmetic seriesArithmetic series
Arithmetic series
 
Linear Equations
Linear Equations Linear Equations
Linear Equations
 
Solution of linear equation & inequality
Solution of linear equation & inequalitySolution of linear equation & inequality
Solution of linear equation & inequality
 
Solving equations
Solving equationsSolving equations
Solving equations
 
Introduction To Equations
Introduction To EquationsIntroduction To Equations
Introduction To Equations
 
Linear Equation in one variables 3
Linear Equation in one variables 3Linear Equation in one variables 3
Linear Equation in one variables 3
 
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPTCLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
 
Math-80-module1.1
Math-80-module1.1Math-80-module1.1
Math-80-module1.1
 
Quadratic Equation solved by Square root property
Quadratic Equation solved by Square root propertyQuadratic Equation solved by Square root property
Quadratic Equation solved by Square root property
 
Linear Equations
Linear EquationsLinear Equations
Linear Equations
 
Modeling 2 Step Equations
Modeling 2 Step EquationsModeling 2 Step Equations
Modeling 2 Step Equations
 
Linear Equation In one variable class 7
 Linear Equation In one variable class 7 Linear Equation In one variable class 7
Linear Equation In one variable class 7
 
Linear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One VariableLinear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One Variable
 
Systems of Linear Equations Graphing
 Systems of Linear Equations Graphing  Systems of Linear Equations Graphing
Systems of Linear Equations Graphing
 
LINEAR EQUATION IN TWO VARIABLES
LINEAR EQUATION IN TWO VARIABLESLINEAR EQUATION IN TWO VARIABLES
LINEAR EQUATION IN TWO VARIABLES
 

Similar to Lec

Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Vladimir Godovalov
 
Module 5 (Part 3-Revised)-Functions and Relations.pdf
Module 5 (Part 3-Revised)-Functions and Relations.pdfModule 5 (Part 3-Revised)-Functions and Relations.pdf
Module 5 (Part 3-Revised)-Functions and Relations.pdf
GaleJean
 
Plano numerico
Plano numericoPlano numerico
Plano numerico
cesaramaro8
 
Matrix.pptx
Matrix.pptxMatrix.pptx
Matrix.pptx
SKalyani_cbe
 
Lesson 2: Final Exam Review (Part 1)
Lesson 2: Final Exam Review (Part 1)Lesson 2: Final Exam Review (Part 1)
Lesson 2: Final Exam Review (Part 1)
Kevin Johnson
 
E04 06 3943
E04 06 3943E04 06 3943
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
International Journal of Engineering Inventions www.ijeijournal.com
 
Chapter 2 - Types of a Function.pdf
Chapter 2 - Types of a Function.pdfChapter 2 - Types of a Function.pdf
Chapter 2 - Types of a Function.pdf
ManarKareem1
 
Interpolation(2) Numerical methods to CE Problems).pdf
Interpolation(2) Numerical methods to CE Problems).pdfInterpolation(2) Numerical methods to CE Problems).pdf
Interpolation(2) Numerical methods to CE Problems).pdf
AlyzaCaszyUmayat
 
MATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptxMATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptx
massm99m
 
Solving Quadratic Equations
Solving Quadratic EquationsSolving Quadratic Equations
Solving Quadratic Equations
Cipriano De Leon
 
Ejercicios resueltos de analisis matematico 1
Ejercicios resueltos de analisis matematico 1Ejercicios resueltos de analisis matematico 1
Ejercicios resueltos de analisis matematico 1
tinardo
 
De la grafica a la funcion
De la grafica a la funcionDe la grafica a la funcion
De la grafica a la funcion
Ana Faraco
 
Folleto de matematicas, primero bgu, proyecto ebja. ing luis panimboza
Folleto de matematicas, primero bgu, proyecto ebja. ing luis panimbozaFolleto de matematicas, primero bgu, proyecto ebja. ing luis panimboza
Folleto de matematicas, primero bgu, proyecto ebja. ing luis panimboza
luisdin2729
 
Lecture-1-Mech.pptx . .
Lecture-1-Mech.pptx                   . .Lecture-1-Mech.pptx                   . .
Lecture-1-Mech.pptx . .
happycocoman
 
Linear regression, costs & gradient descent
Linear regression, costs & gradient descentLinear regression, costs & gradient descent
Linear regression, costs & gradient descent
Revanth Kumar
 
Maths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfMaths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdf
AnuBajpai5
 
GraphTransformations.pptx
GraphTransformations.pptxGraphTransformations.pptx
GraphTransformations.pptx
SrideviNagarjuna
 
GCSE-StraightLines.pptx
GCSE-StraightLines.pptxGCSE-StraightLines.pptx
GCSE-StraightLines.pptx
NourLahham2
 

Similar to Lec (20)

Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
 
Module 5 (Part 3-Revised)-Functions and Relations.pdf
Module 5 (Part 3-Revised)-Functions and Relations.pdfModule 5 (Part 3-Revised)-Functions and Relations.pdf
Module 5 (Part 3-Revised)-Functions and Relations.pdf
 
Mqm em
Mqm emMqm em
Mqm em
 
Plano numerico
Plano numericoPlano numerico
Plano numerico
 
Matrix.pptx
Matrix.pptxMatrix.pptx
Matrix.pptx
 
Lesson 2: Final Exam Review (Part 1)
Lesson 2: Final Exam Review (Part 1)Lesson 2: Final Exam Review (Part 1)
Lesson 2: Final Exam Review (Part 1)
 
E04 06 3943
E04 06 3943E04 06 3943
E04 06 3943
 
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
On the Analysis of the Finite Element Solutions of Boundary Value Problems Us...
 
Chapter 2 - Types of a Function.pdf
Chapter 2 - Types of a Function.pdfChapter 2 - Types of a Function.pdf
Chapter 2 - Types of a Function.pdf
 
Interpolation(2) Numerical methods to CE Problems).pdf
Interpolation(2) Numerical methods to CE Problems).pdfInterpolation(2) Numerical methods to CE Problems).pdf
Interpolation(2) Numerical methods to CE Problems).pdf
 
MATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptxMATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptx
 
Solving Quadratic Equations
Solving Quadratic EquationsSolving Quadratic Equations
Solving Quadratic Equations
 
Ejercicios resueltos de analisis matematico 1
Ejercicios resueltos de analisis matematico 1Ejercicios resueltos de analisis matematico 1
Ejercicios resueltos de analisis matematico 1
 
De la grafica a la funcion
De la grafica a la funcionDe la grafica a la funcion
De la grafica a la funcion
 
Folleto de matematicas, primero bgu, proyecto ebja. ing luis panimboza
Folleto de matematicas, primero bgu, proyecto ebja. ing luis panimbozaFolleto de matematicas, primero bgu, proyecto ebja. ing luis panimboza
Folleto de matematicas, primero bgu, proyecto ebja. ing luis panimboza
 
Lecture-1-Mech.pptx . .
Lecture-1-Mech.pptx                   . .Lecture-1-Mech.pptx                   . .
Lecture-1-Mech.pptx . .
 
Linear regression, costs & gradient descent
Linear regression, costs & gradient descentLinear regression, costs & gradient descent
Linear regression, costs & gradient descent
 
Maths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfMaths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdf
 
GraphTransformations.pptx
GraphTransformations.pptxGraphTransformations.pptx
GraphTransformations.pptx
 
GCSE-StraightLines.pptx
GCSE-StraightLines.pptxGCSE-StraightLines.pptx
GCSE-StraightLines.pptx
 

Recently uploaded

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
JezreelCabil2
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 

Recently uploaded (20)

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 

Lec

  • 2. Interpolation 2 • Interpolation enables us to estimate the data points in between the given data. 𝑦 = 𝑦1 + 𝑦2 − 𝑦1 𝑥2 − 𝑥1 × 𝑥 − 𝑥1 • Linear Interpolation Formula:
  • 3. Lagrange Interpolation 3 • The Lagrange interpolation is a method used to approximate the function of the line or curve that passes through a set of points. • The degree of Lagrange interpolating polynomial is determined based on the number of known points degree = 𝑛 − 1 where n is the number of known points.
  • 4. Linear Lagrange Interpolation 4 Given two points 𝑥1, 𝑦1 and 𝑥2, 𝑦2 , the linear Lagrange interpolating formula is given by: 𝑦 = 𝑥 − 𝑥2 𝑥1 − 𝑥2 𝑦1 + 𝑥 − 𝑥1 𝑥2 − 𝑥1 𝑦2
  • 5. Linear Lagrange Interpolation 5 Example Determine the value of y at x = 8 given some set of values (2,6), (5,9) by using the Lagrange interpolation formula. Solution Since we have two known points (𝑛 = 2), then we will use the linear Lagrange formula. 𝑦 = (𝑥 − 𝑥2) (𝑥1 − 𝑥2) 𝑦1 + (𝑥 − 𝑥1) (𝑥2 − 𝑥1) 𝑦2
  • 6. Linear Lagrange Interpolation 6 𝑦 = (𝑥 − 𝑥2) (𝑥1 − 𝑥2) 𝑦1 + (𝑥 − 𝑥1) (𝑥2 − 𝑥1) 𝑦2 Given, 𝑥1 = 2, 𝑦1 = 6, 𝑥2 = 5, 𝑦2 = 9 The value of y at x = 8 will be: 𝑦 = (8 − 5) (2 − 5) × 6 + (8 − 2) (5 − 2) × 9 = 3 −3 × 6 + 6 3 × 9 = −6 + 18 = 12
  • 7. Second degree Lagrange interpolation 7 Given three points 𝑥1, 𝑦1 , 𝑥2, 𝑦2 and 𝑥3, 𝑦3 the second degree Lagrange interpolating formula that approximates the curve that passes through the three points is given by: 𝑦 = 𝑥 − 𝑥2 𝑥 − 𝑥3 𝑥1 − 𝑥2 𝑥1 − 𝑥3 𝑦1 + 𝑥 − 𝑥1 𝑥 − 𝑥3 𝑥2 − 𝑥1 𝑥2 − 𝑥3 𝑦2 + 𝑥 − 𝑥1 𝑥 − 𝑥2 𝑥3 − 𝑥1 𝑥3 − 𝑥2 𝑦3
  • 8. Second degree Lagrange interpolation 8 Example Given the three data points (2, 0.5), (2.75, 0.36), and (4, 0.25), find the second Lagrange interpolating polynomial for f (3).
  • 9. 9