SlideShare ist ein Scribd-Unternehmen logo
1 von 16
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

Weitere ähnliche Inhalte

Was ist angesagt?

Curve fitting of exponential curve
Curve fitting of exponential curveCurve fitting of exponential curve
Curve fitting of exponential curveDivyang Rathod
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-applicationApurbo Datta
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
 
Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method Bhavik Vashi
 
Differential equations
Differential equationsDifferential equations
Differential equationsSeyid Kadher
 
A presentation on differencial calculus
A presentation on differencial calculusA presentation on differencial calculus
A presentation on differencial calculusbujh balok
 
introduction to Numerical Analysis
introduction to Numerical Analysisintroduction to Numerical Analysis
introduction to Numerical AnalysisGhulam Mehdi Sahito
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration8laddu8
 
Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of MatricesAmenahGondal1
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationMohammed_AQ
 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture NotesDr. Nirav Vyas
 
application of differential equations
application of differential equationsapplication of differential equations
application of differential equationsVenkata.Manish Reddy
 
interpolation
interpolationinterpolation
interpolation8laddu8
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 

Was ist angesagt? (20)

Curve fitting of exponential curve
Curve fitting of exponential curveCurve fitting of exponential curve
Curve fitting of exponential curve
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-application
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Lagrange’s interpolation formula
Lagrange’s interpolation formulaLagrange’s interpolation formula
Lagrange’s interpolation formula
 
Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method
 
INTERPOLATION
INTERPOLATIONINTERPOLATION
INTERPOLATION
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
A presentation on differencial calculus
A presentation on differencial calculusA presentation on differencial calculus
A presentation on differencial calculus
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
introduction to Numerical Analysis
introduction to Numerical Analysisintroduction to Numerical Analysis
introduction to Numerical Analysis
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
 
Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of Matrices
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture Notes
 
application of differential equations
application of differential equationsapplication of differential equations
application of differential equations
 
interpolation
interpolationinterpolation
interpolation
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 

Ähnlich wie Methods and Applications of Interpolation

$$$ 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 integrationPOONAMSINGH373
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfJifarRaya
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdfJifarRaya
 
Deep learning MindMap
Deep learning MindMapDeep learning MindMap
Deep learning MindMapAshish Patel
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search AlgorithmAshish 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 InterpolationSaloni 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).pdfmaikelcorleoni
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical MethodsESUG
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveYounusS2
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsKrishnan MuthuManickam
 
Optimisation in engineering design
Optimisation in engineering designOptimisation in engineering design
Optimisation in engineering designramnaresh yadav
 

Ähnlich wie Methods and Applications of Interpolation (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
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.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
 

Kürzlich hochgeladen

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 

Kürzlich hochgeladen (20)

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 

Methods and Applications of Interpolation

  • 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