SlideShare a Scribd company logo
By Rinku
CONTENTS
Introduction
Interpolation Methods
Equally Spaced Intervals
Formulae
Unequally Spaced intervals
Spline interpolation
Applications
References
 Interpolation is the technique of estimating the value of a function for any
intermediate value of the independent variable.
 Suppose we have the following values of y = f(x) for a set of values of x :
x : x0 x1 x2…..xn
y : y0 y1 y2…..yn
Then the process of finding the value of y corresponding to any value of x = xi between
x0 and xn is called interpolation.
INTRODUCTION
INTERPOLATION METHODS
Equal Interval Spacing Unequal Interval Spacing
Newton’s forward
Interpolation
Newton’s backward
Interpolation
Central Difference
Interpolation/
Stirling’s Formulae
Newton’s divided
difference
Lagrange’s method
• While solving any problem, we have to choose a formulae that yields the most accurate
results for the particular problem.
• The right choice of an interpolation formula depends on the position of the interpolated
value in the given data.
• Some of handy rules are :
 To find a tabulated value near the beginning of the table :
 To find a tabulated value near the end of the table :
 To find a tabulated value near the center of the table :
EQUALLY SPACED INTERVALS
Newton’s forward Interpolation
Newton’s backward Interpolation
Central Difference Interpolation/
Stirling’s Formulae
 Choice of Interpolation formulae
DIFFERENCE TABLE
Δ : Forward difference operator
∇ :Backward difference operator
Newton’s forward Interpolation Formula
Yp = Y0+ pΔY0 + p(p−1)/2! Δ2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n!
ΔnY0
Where, p =(x−x0)/h;
Y0 = f(x0);
Newton’s backward Interpolation Formula
Yp = Y0+ p∇Y0 + p(p−1)/2! ∇2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n!
∇nY0
Where, p =(x-xn)/h;
Yn= f(xn);
Central Difference Interpolation/Stirling’s Formulae
Advantages :
1. Stirling's formula decrease much more rapidly than other difference formulae hence considering first few
number of terms itself will give better accuracy.
2. Forward or backward difference formulae use the oneside information of the function where as Stirling's
formula uses the function values on both sides of f(x
• The disadvantage of the methods discussed till now is that they are applicable only
to the equally spaced values of arguments.
• Therefore, it is necessary to learn about the formulae applicable to unequally spaced
values.
1. Lagrange’s Formula
2. Divided difference method
UNEQUALLY SPACED INTERVALS
Newton’s divided difference method
Lagrange’s Interpolation Formulae
U
N
E
Q
U
A
L
I
N
T
E
R
V
A
L
S
For n points is a actually a polynomial of degree (n-1).
This polynomial is known as lagrangian polynomial and is very simple to implement on a computer.
• Drawback:
 If another interpolation value were inserted, then the interpolation coefficients are required to be
recalculated.
Overcomes the drawback of lagrange’s method by employing
divided differences.
 In the interpolation methods discussed so far, a single polynomial has been fitted to the
tabulated points.
 If the given set of points belong to the same polynomial then the method works well,
otherwise he results are rough approximations only.
 In computer graphics, a spline is a curve that connects two or more specific points, or
that is defined by two or more points. The term can also refer to the mathematical
equation that defines such a curve.
 Spline interpolation is a form of interpolation where the interpolant is a special type of
piecewise polynomial called a spline.
SPLINE INTERPOLATION
 Cubic spline interpolation is a special case for Spline interpolation that is used
very often to avoid the problem of Runge's phenomenon.
 This method gives an interpolating polynomial that is smoother and has smaller
error than some other interpolating polynomials such as Lagrange polynomial and
Newton’s polynomial.
S
P
L
I
N
E
I
N
T
E
R
P
O
L
A
T
I
O
N
CUBIC SPLINE INTERPOLATION
 In the context of computer animation, interpolation is filling in frames between the key frames.
 It typically calculates the in between frames through use of piecewise polynomial interpolation to
draw images semi-automatically.
 For all applications of this type, a set of "key points" is defined by the graphic artist. These are
values that are rather widely separated in space or time, and represent the desired result, but only in
very coarse steps.
 The computed interpolation process is then used to insert many new values in between these key
points to give a "smoother" result.
APPLICATIONS
 In computer programming, string interpolation is the process of evaluating a string
literal containing one or more placeholders, and yielding a result in which the placeholders are
replaced with their corresponding values.
 It is a form of simple template processing.
 String interpolation allows easier and more intuitive string formatting and content-
specification compared with string concatenation.
APPLICATIONS
REFERENCES
• Numerical methods in engineering and science by B.S. Grewal
• https://www.quora.com/What-is-interpolation-in-programming
• https://en.m.wikipedia.org/wiki/String_interpolation
• https://en.wikipedia.org/wiki/Interpolation_(computer_graphics)
• https://www.geeksforgeeks.org/newton-forward-backward-interpolation/
• https://whatis.techtarget.com/definition/spline
• https://math.stackexchange.com/questions/624894/newtons-interpolation-formula-difference-
between-the-forward-and-the-backward
THANK YOU

More Related Content

What's hot

Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
MalathiNagarajan20
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
Abu Kaisar
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rule
hitarth shah
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
Mohammed_AQ
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
Mohammad Tawfik
 
Manifold learning
Manifold learningManifold learning
Manifold learning
Wei Yang
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
Manthan Chavda
 
Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of Matrices
AmenahGondal1
 
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATIONLINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
Touhidul Shawan
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
Ainul Islam
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
Tausif Shahanshah
 
Newton’s Divided Difference Interpolation 18.pptx
Newton’s Divided Difference Interpolation 18.pptxNewton’s Divided Difference Interpolation 18.pptx
Newton’s Divided Difference Interpolation 18.pptx
RishabhGupta238479
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...
vaibhav tailor
 
Differential equations
Differential equationsDifferential equations
Differential equations
Seyid Kadher
 
interpolation
interpolationinterpolation
interpolation8laddu8
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolation
Harshad Koshti
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration8laddu8
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matricesStudent
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
Dr. Nirav Vyas
 
Homogeneous Linear Differential Equations
 Homogeneous Linear Differential Equations Homogeneous Linear Differential Equations
Homogeneous Linear Differential Equations
AMINULISLAM439
 

What's hot (20)

Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rule
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
 
Manifold learning
Manifold learningManifold learning
Manifold learning
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
 
Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of Matrices
 
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATIONLINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
LINEAR DIFFERENTIAL EQUATION & BERNOULLI`S EQUATION
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Newton’s Divided Difference Interpolation 18.pptx
Newton’s Divided Difference Interpolation 18.pptxNewton’s Divided Difference Interpolation 18.pptx
Newton’s Divided Difference Interpolation 18.pptx
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
interpolation
interpolationinterpolation
interpolation
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolation
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matrices
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
Homogeneous Linear Differential Equations
 Homogeneous Linear Differential Equations Homogeneous Linear Differential Equations
Homogeneous Linear Differential Equations
 

Similar to Interpolation and its applications

$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xlmumu2jik
 
$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xlmumu2jik
 
Interpolation wikipedia
Interpolation   wikipediaInterpolation   wikipedia
Interpolation wikipediahort34
 
Interpolation
InterpolationInterpolation
Interpolationmumu2jik
 
Numerical diffrentiation and integration
Numerical diffrentiation and integrationNumerical diffrentiation and integration
Numerical diffrentiation and integration
POONAMSINGH373
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
JifarRaya
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
JifarRaya
 
Deep learning MindMap
Deep learning MindMapDeep learning MindMap
Deep learning MindMap
Ashish Patel
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search Algorithm
Ashish Khetan
 
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
AIMST University
 
Lagrange Interpolation
Lagrange InterpolationLagrange Interpolation
Lagrange Interpolation
Saloni Singhal
 
The Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdfThe Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdf
maikelcorleoni
 
Perceptron working
Perceptron workingPerceptron working
Perceptron working
Zarnigar Altaf
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
ESUG
 
Unit 2 ml.pptx
Unit 2 ml.pptxUnit 2 ml.pptx
Unit 2 ml.pptx
PradeeshSAI
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical Perspective
YounusS2
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
Krishnan MuthuManickam
 
Optimisation in engineering design
Optimisation in engineering designOptimisation in engineering design
Optimisation in engineering design
ramnaresh yadav
 
B02402012022
B02402012022B02402012022
B02402012022
inventionjournals
 

Similar to Interpolation and its applications (20)

$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl
 
$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl
 
Interpolation wikipedia
Interpolation   wikipediaInterpolation   wikipedia
Interpolation wikipedia
 
Interpolation
InterpolationInterpolation
Interpolation
 
Numerical diffrentiation and integration
Numerical diffrentiation and integrationNumerical diffrentiation and integration
Numerical diffrentiation and integration
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
 
Deep learning MindMap
Deep learning MindMapDeep learning MindMap
Deep learning MindMap
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search Algorithm
 
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
 
Lagrange Interpolation
Lagrange InterpolationLagrange Interpolation
Lagrange Interpolation
 
The Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdfThe Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdf
 
Perceptron working
Perceptron workingPerceptron working
Perceptron working
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
Unit 2 ml.pptx
Unit 2 ml.pptxUnit 2 ml.pptx
Unit 2 ml.pptx
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical Perspective
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
 
Optimisation in engineering design
Optimisation in engineering designOptimisation in engineering design
Optimisation in engineering design
 
B02402012022
B02402012022B02402012022
B02402012022
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 

Interpolation and its applications

  • 2. CONTENTS Introduction Interpolation Methods Equally Spaced Intervals Formulae Unequally Spaced intervals Spline interpolation Applications References
  • 3.  Interpolation is the technique of estimating the value of a function for any intermediate value of the independent variable.  Suppose we have the following values of y = f(x) for a set of values of x : x : x0 x1 x2…..xn y : y0 y1 y2…..yn Then the process of finding the value of y corresponding to any value of x = xi between x0 and xn is called interpolation. INTRODUCTION
  • 4. INTERPOLATION METHODS Equal Interval Spacing Unequal Interval Spacing Newton’s forward Interpolation Newton’s backward Interpolation Central Difference Interpolation/ Stirling’s Formulae Newton’s divided difference Lagrange’s method
  • 5. • While solving any problem, we have to choose a formulae that yields the most accurate results for the particular problem. • The right choice of an interpolation formula depends on the position of the interpolated value in the given data. • Some of handy rules are :  To find a tabulated value near the beginning of the table :  To find a tabulated value near the end of the table :  To find a tabulated value near the center of the table : EQUALLY SPACED INTERVALS Newton’s forward Interpolation Newton’s backward Interpolation Central Difference Interpolation/ Stirling’s Formulae  Choice of Interpolation formulae
  • 6. DIFFERENCE TABLE Δ : Forward difference operator ∇ :Backward difference operator
  • 7. Newton’s forward Interpolation Formula Yp = Y0+ pΔY0 + p(p−1)/2! Δ2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n! ΔnY0 Where, p =(x−x0)/h; Y0 = f(x0); Newton’s backward Interpolation Formula Yp = Y0+ p∇Y0 + p(p−1)/2! ∇2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n! ∇nY0 Where, p =(x-xn)/h; Yn= f(xn);
  • 8. Central Difference Interpolation/Stirling’s Formulae Advantages : 1. Stirling's formula decrease much more rapidly than other difference formulae hence considering first few number of terms itself will give better accuracy. 2. Forward or backward difference formulae use the oneside information of the function where as Stirling's formula uses the function values on both sides of f(x
  • 9. • The disadvantage of the methods discussed till now is that they are applicable only to the equally spaced values of arguments. • Therefore, it is necessary to learn about the formulae applicable to unequally spaced values. 1. Lagrange’s Formula 2. Divided difference method UNEQUALLY SPACED INTERVALS
  • 10. Newton’s divided difference method Lagrange’s Interpolation Formulae U N E Q U A L I N T E R V A L S For n points is a actually a polynomial of degree (n-1). This polynomial is known as lagrangian polynomial and is very simple to implement on a computer. • Drawback:  If another interpolation value were inserted, then the interpolation coefficients are required to be recalculated. Overcomes the drawback of lagrange’s method by employing divided differences.
  • 11.  In the interpolation methods discussed so far, a single polynomial has been fitted to the tabulated points.  If the given set of points belong to the same polynomial then the method works well, otherwise he results are rough approximations only.  In computer graphics, a spline is a curve that connects two or more specific points, or that is defined by two or more points. The term can also refer to the mathematical equation that defines such a curve.  Spline interpolation is a form of interpolation where the interpolant is a special type of piecewise polynomial called a spline. SPLINE INTERPOLATION
  • 12.  Cubic spline interpolation is a special case for Spline interpolation that is used very often to avoid the problem of Runge's phenomenon.  This method gives an interpolating polynomial that is smoother and has smaller error than some other interpolating polynomials such as Lagrange polynomial and Newton’s polynomial. S P L I N E I N T E R P O L A T I O N CUBIC SPLINE INTERPOLATION
  • 13.  In the context of computer animation, interpolation is filling in frames between the key frames.  It typically calculates the in between frames through use of piecewise polynomial interpolation to draw images semi-automatically.  For all applications of this type, a set of "key points" is defined by the graphic artist. These are values that are rather widely separated in space or time, and represent the desired result, but only in very coarse steps.  The computed interpolation process is then used to insert many new values in between these key points to give a "smoother" result. APPLICATIONS
  • 14.  In computer programming, string interpolation is the process of evaluating a string literal containing one or more placeholders, and yielding a result in which the placeholders are replaced with their corresponding values.  It is a form of simple template processing.  String interpolation allows easier and more intuitive string formatting and content- specification compared with string concatenation. APPLICATIONS
  • 15. REFERENCES • Numerical methods in engineering and science by B.S. Grewal • https://www.quora.com/What-is-interpolation-in-programming • https://en.m.wikipedia.org/wiki/String_interpolation • https://en.wikipedia.org/wiki/Interpolation_(computer_graphics) • https://www.geeksforgeeks.org/newton-forward-backward-interpolation/ • https://whatis.techtarget.com/definition/spline • https://math.stackexchange.com/questions/624894/newtons-interpolation-formula-difference- between-the-forward-and-the-backward