SlideShare a Scribd company logo
Equal Spacing: Newton’s Forward and Backward
Difference Interpolation
Dr. Varun Kumar
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 1 / 9
Outlines
1 Equal Spacing: Newton’s Forward Difference Formulation
Example
2 Equal Spacing: Newton’s Backward Difference Formulation
Example
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 2 / 9
Equal Spacing: Newton’s Forward Difference Formula
Important points
⇒ As per the Newton’s divide difference interpolation formula
f (x)= f0 + (x − x0)f [x0, x1] + (x − x0)(x − x1)f [x0, x1, x2] + ...+
(x − x0)(x − x1)....(x − xn−1)f [x0, ..., xn]
(1)
or
f [x0, ...., xk] =
f [x1, ....., xk] − f [x0, ...., xk−1]
xk − x0
⇒ Above expression is valid for arbitrarily spaced nodes.
⇒ In most of the practical experimentation, it can be adopted.
⇒ For some instances, the interval may be equi-spaced, i.e,
x0, x1 = x0 + h, x2 = x0 + 2h, ....., xn = x0 + nh (2)
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 3 / 9
Continued–
⇒ First forward difference of f at xj by
4fj = fj+1 − fj
⇒ Second forward difference of f at xj by
42
fj = 4fj+1 − 4fj
⇒ The kth forward difference of f at xj by
4k
fj = 4k−1
fj+1 − 4k−1
fj ∀ k = 1, 2, ...
⇒ In case of regular spacing in input (x), then
f [x0, x1, ....., xk] =
1
k!hk
4k
f0 (3)
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 4 / 9
Continued–
⇒ For k = 1, from (3)
f [x0, x1] =
f1 − f0
x1 − x0
=
1
h
(f1 − f0) =
1
1!h
4f0 (4)
⇒ Let xk+1 = x0 + (k + 1)h
f [x0, ......, xk+1] =
f [x1, ..., xk+1] − f [x0, ..., xk]
xk+1 − x0
=
1
(k + 1)h
h 1
k!hk
4k
f1 −
1
k!hk
4k
f0
i
=
1
(k + 1)!hk+1
4k+1
f0
(5)
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 5 / 9
Continued–
⇒ Applying Newton’s forward difference interpolation formula
f (x) ≈ pn(x) = f0 + r4f0 +
r(r − 1)
2!
42
f0 + ...+
r(r − 1)...(r − n + 1)
n!
4n
f0
(6)
where r = x−x0
h
Q Compute cosh 0.56. Utilize the four values in the following table and
estimate the error.
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 6 / 9
Equal Spacing: Newton’s Backward Difference Formulation
⇒ First backward difference of f at xj by
∇fj = fj − fj−1
⇒ Second backward difference of f at xj by
∇2
fj = ∇fj − ∇fj−1
⇒ kth backward difference of f at xj by
∇k
fj = ∇k−1
fj − ∇k−1
fj−1 (7)
⇒ As per Newton’s backward difference interpolation formula
f (x) ≈ pn(x) = f0 + r∇f0 +
r(r + 1)
2!
∇2
f0 + ... +
r(r + 1)...(r + n − 1)
n!
∇n
f0
(8)
where r = x−x0
h
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 7 / 9
Example
Q Compute a 7D value of the Bessel function J0(x) for x = 1.72 from
the four values in the following table, using
(a) Newton’s forward formula
(b) Newton’s backward formula
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 8 / 9
Exercise Problem
1 Calculate the Lagrange polynomial p2(x) for the values
Γ(1.00) = 1.0000, Γ(1.02) = 0.9888, Γ(1.04) = 0.9784 of the gamma
function and from it approximate Γ(1.01) and Γ(1.03).
2 Find e−0.25 and e−0.75 by linear interpolation of e−x with x0 = 0,
x1 = 0.5, and x0 = 0.5, x1 = 0, respectively. Then find p2(x) by
quadratic interpolation of e−x with x0 = 0, x1 = 0.5, and x2 = 1 and
from it e−0.25 and e−0.75 compare the errors.
3 Solve the above problem using Newton’s divide and difference
interpolation method.
Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 9 / 9

More Related Content

What's hot

Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
VISHAL DONGA
 
Newton's forward difference
Newton's forward differenceNewton's forward difference
Newton's forward difference
Raj Parekh
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
Yana Qlah
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
Tarun Gehlot
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
aman1894
 
Spline interpolation numerical methods presentation
Spline interpolation numerical methods presentationSpline interpolation numerical methods presentation
Spline interpolation numerical methods presentation
Shohanur Nishad
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
Dr. Nirav Vyas
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
Bijay Mishra
 
Gaussian Quadrature Formula
Gaussian Quadrature FormulaGaussian Quadrature Formula
Gaussian Quadrature Formula
Dhaval Shukla
 
numerical methods
numerical methodsnumerical methods
numerical methods
HaiderParekh1
 
Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method
Bhavik Vashi
 
Error Finding in Numerical method
Error Finding in Numerical methodError Finding in Numerical method
Error Finding in Numerical method
Fazle Rabbi Ador
 
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
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
Tarun Gehlot
 
Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl
VishalVishwakarma59
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
Mohammed_AQ
 
Inner Product Space
Inner Product SpaceInner Product Space
Inner Product Space
Patel Raj
 
presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve
Mukuldev Khunte
 

What's hot (20)

Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
Newton's forward difference
Newton's forward differenceNewton's forward difference
Newton's forward difference
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Spline interpolation numerical methods presentation
Spline interpolation numerical methods presentationSpline interpolation numerical methods presentation
Spline interpolation numerical methods presentation
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Gaussian Quadrature Formula
Gaussian Quadrature FormulaGaussian Quadrature Formula
Gaussian Quadrature Formula
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Error Finding in Numerical method
Error Finding in Numerical methodError Finding in Numerical method
Error Finding in Numerical method
 
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
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Inner Product Space
Inner Product SpaceInner Product Space
Inner Product Space
 
presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve
 

Similar to Newton's Forward/Backward Difference Interpolation

Newton's Divide and Difference Interpolation
Newton's Divide and Difference InterpolationNewton's Divide and Difference Interpolation
Newton's Divide and Difference Interpolation
VARUN KUMAR
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
VARUN KUMAR
 
Gaussian Numerical Integration
Gaussian Numerical IntegrationGaussian Numerical Integration
Gaussian Numerical Integration
VARUN KUMAR
 
Solutions_Chapter3.pdf
Solutions_Chapter3.pdfSolutions_Chapter3.pdf
Solutions_Chapter3.pdf
Tessydee
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal Rule
VARUN KUMAR
 
Naville's Interpolation
Naville's InterpolationNaville's Interpolation
Naville's Interpolation
VARUN KUMAR
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
BRNSS Publication Hub
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
BRNSS Publication Hub
 
Fourier transform
Fourier transformFourier transform
Fourier transform
auttaponsripradit
 
1531 fourier series- integrals and trans
1531 fourier series- integrals and trans1531 fourier series- integrals and trans
1531 fourier series- integrals and trans
Dr Fereidoun Dejahang
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integrationdicosmo178
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integrationdicosmo178
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integrationdicosmo178
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integration
Tarun Gehlot
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
shahzadebaujiti
 
imagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptximagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptx
MrsSDivyaBME
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus
OlooPundit
 

Similar to Newton's Forward/Backward Difference Interpolation (20)

Newton's Divide and Difference Interpolation
Newton's Divide and Difference InterpolationNewton's Divide and Difference Interpolation
Newton's Divide and Difference Interpolation
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
 
Gaussian Numerical Integration
Gaussian Numerical IntegrationGaussian Numerical Integration
Gaussian Numerical Integration
 
Solutions_Chapter3.pdf
Solutions_Chapter3.pdfSolutions_Chapter3.pdf
Solutions_Chapter3.pdf
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal Rule
 
Naville's Interpolation
Naville's InterpolationNaville's Interpolation
Naville's Interpolation
 
Unit iv
Unit ivUnit iv
Unit iv
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
final15
final15final15
final15
 
Image transforms
Image transformsImage transforms
Image transforms
 
1531 fourier series- integrals and trans
1531 fourier series- integrals and trans1531 fourier series- integrals and trans
1531 fourier series- integrals and trans
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integration
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
 
imagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptximagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptx
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus
 

More from VARUN KUMAR

Distributed rc Model
Distributed rc ModelDistributed rc Model
Distributed rc Model
VARUN KUMAR
 
Electrical Wire Model
Electrical Wire ModelElectrical Wire Model
Electrical Wire Model
VARUN KUMAR
 
Interconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignInterconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI Design
VARUN KUMAR
 
Introduction to Digital VLSI Design
Introduction to Digital VLSI DesignIntroduction to Digital VLSI Design
Introduction to Digital VLSI Design
VARUN KUMAR
 
Challenges of Massive MIMO System
Challenges of Massive MIMO SystemChallenges of Massive MIMO System
Challenges of Massive MIMO System
VARUN KUMAR
 
E-democracy or Digital Democracy
E-democracy or Digital DemocracyE-democracy or Digital Democracy
E-democracy or Digital Democracy
VARUN KUMAR
 
Ethics of Parasitic Computing
Ethics of Parasitic ComputingEthics of Parasitic Computing
Ethics of Parasitic Computing
VARUN KUMAR
 
Action Lines of Geneva Plan of Action
Action Lines of Geneva Plan of ActionAction Lines of Geneva Plan of Action
Action Lines of Geneva Plan of Action
VARUN KUMAR
 
Geneva Plan of Action
Geneva Plan of ActionGeneva Plan of Action
Geneva Plan of Action
VARUN KUMAR
 
Fair Use in the Electronic Age
Fair Use in the Electronic AgeFair Use in the Electronic Age
Fair Use in the Electronic Age
VARUN KUMAR
 
Software as a Property
Software as a PropertySoftware as a Property
Software as a Property
VARUN KUMAR
 
Orthogonal Polynomial
Orthogonal PolynomialOrthogonal Polynomial
Orthogonal Polynomial
VARUN KUMAR
 
Patent Protection
Patent ProtectionPatent Protection
Patent Protection
VARUN KUMAR
 
Copyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy LawCopyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy Law
VARUN KUMAR
 
Property Right and Software
Property Right and SoftwareProperty Right and Software
Property Right and Software
VARUN KUMAR
 
Investigating Data Trials
Investigating Data TrialsInvestigating Data Trials
Investigating Data Trials
VARUN KUMAR
 
Censorship and Controversy
Censorship and ControversyCensorship and Controversy
Censorship and Controversy
VARUN KUMAR
 
Romberg's Integration
Romberg's IntegrationRomberg's Integration
Romberg's Integration
VARUN KUMAR
 
Introduction to Censorship
Introduction to Censorship Introduction to Censorship
Introduction to Censorship
VARUN KUMAR
 
Protect your online privacy-2
Protect your online privacy-2Protect your online privacy-2
Protect your online privacy-2
VARUN KUMAR
 

More from VARUN KUMAR (20)

Distributed rc Model
Distributed rc ModelDistributed rc Model
Distributed rc Model
 
Electrical Wire Model
Electrical Wire ModelElectrical Wire Model
Electrical Wire Model
 
Interconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignInterconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI Design
 
Introduction to Digital VLSI Design
Introduction to Digital VLSI DesignIntroduction to Digital VLSI Design
Introduction to Digital VLSI Design
 
Challenges of Massive MIMO System
Challenges of Massive MIMO SystemChallenges of Massive MIMO System
Challenges of Massive MIMO System
 
E-democracy or Digital Democracy
E-democracy or Digital DemocracyE-democracy or Digital Democracy
E-democracy or Digital Democracy
 
Ethics of Parasitic Computing
Ethics of Parasitic ComputingEthics of Parasitic Computing
Ethics of Parasitic Computing
 
Action Lines of Geneva Plan of Action
Action Lines of Geneva Plan of ActionAction Lines of Geneva Plan of Action
Action Lines of Geneva Plan of Action
 
Geneva Plan of Action
Geneva Plan of ActionGeneva Plan of Action
Geneva Plan of Action
 
Fair Use in the Electronic Age
Fair Use in the Electronic AgeFair Use in the Electronic Age
Fair Use in the Electronic Age
 
Software as a Property
Software as a PropertySoftware as a Property
Software as a Property
 
Orthogonal Polynomial
Orthogonal PolynomialOrthogonal Polynomial
Orthogonal Polynomial
 
Patent Protection
Patent ProtectionPatent Protection
Patent Protection
 
Copyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy LawCopyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy Law
 
Property Right and Software
Property Right and SoftwareProperty Right and Software
Property Right and Software
 
Investigating Data Trials
Investigating Data TrialsInvestigating Data Trials
Investigating Data Trials
 
Censorship and Controversy
Censorship and ControversyCensorship and Controversy
Censorship and Controversy
 
Romberg's Integration
Romberg's IntegrationRomberg's Integration
Romberg's Integration
 
Introduction to Censorship
Introduction to Censorship Introduction to Censorship
Introduction to Censorship
 
Protect your online privacy-2
Protect your online privacy-2Protect your online privacy-2
Protect your online privacy-2
 

Recently uploaded

Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
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
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
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
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
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
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
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
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.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
 
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
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
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
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 

Recently uploaded (20)

Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
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
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
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
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
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
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
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
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.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
 
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
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
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
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 

Newton's Forward/Backward Difference Interpolation

  • 1. Equal Spacing: Newton’s Forward and Backward Difference Interpolation Dr. Varun Kumar Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 1 / 9
  • 2. Outlines 1 Equal Spacing: Newton’s Forward Difference Formulation Example 2 Equal Spacing: Newton’s Backward Difference Formulation Example Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 2 / 9
  • 3. Equal Spacing: Newton’s Forward Difference Formula Important points ⇒ As per the Newton’s divide difference interpolation formula f (x)= f0 + (x − x0)f [x0, x1] + (x − x0)(x − x1)f [x0, x1, x2] + ...+ (x − x0)(x − x1)....(x − xn−1)f [x0, ..., xn] (1) or f [x0, ...., xk] = f [x1, ....., xk] − f [x0, ...., xk−1] xk − x0 ⇒ Above expression is valid for arbitrarily spaced nodes. ⇒ In most of the practical experimentation, it can be adopted. ⇒ For some instances, the interval may be equi-spaced, i.e, x0, x1 = x0 + h, x2 = x0 + 2h, ....., xn = x0 + nh (2) Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 3 / 9
  • 4. Continued– ⇒ First forward difference of f at xj by 4fj = fj+1 − fj ⇒ Second forward difference of f at xj by 42 fj = 4fj+1 − 4fj ⇒ The kth forward difference of f at xj by 4k fj = 4k−1 fj+1 − 4k−1 fj ∀ k = 1, 2, ... ⇒ In case of regular spacing in input (x), then f [x0, x1, ....., xk] = 1 k!hk 4k f0 (3) Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 4 / 9
  • 5. Continued– ⇒ For k = 1, from (3) f [x0, x1] = f1 − f0 x1 − x0 = 1 h (f1 − f0) = 1 1!h 4f0 (4) ⇒ Let xk+1 = x0 + (k + 1)h f [x0, ......, xk+1] = f [x1, ..., xk+1] − f [x0, ..., xk] xk+1 − x0 = 1 (k + 1)h h 1 k!hk 4k f1 − 1 k!hk 4k f0 i = 1 (k + 1)!hk+1 4k+1 f0 (5) Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 5 / 9
  • 6. Continued– ⇒ Applying Newton’s forward difference interpolation formula f (x) ≈ pn(x) = f0 + r4f0 + r(r − 1) 2! 42 f0 + ...+ r(r − 1)...(r − n + 1) n! 4n f0 (6) where r = x−x0 h Q Compute cosh 0.56. Utilize the four values in the following table and estimate the error. Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 6 / 9
  • 7. Equal Spacing: Newton’s Backward Difference Formulation ⇒ First backward difference of f at xj by ∇fj = fj − fj−1 ⇒ Second backward difference of f at xj by ∇2 fj = ∇fj − ∇fj−1 ⇒ kth backward difference of f at xj by ∇k fj = ∇k−1 fj − ∇k−1 fj−1 (7) ⇒ As per Newton’s backward difference interpolation formula f (x) ≈ pn(x) = f0 + r∇f0 + r(r + 1) 2! ∇2 f0 + ... + r(r + 1)...(r + n − 1) n! ∇n f0 (8) where r = x−x0 h Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 7 / 9
  • 8. Example Q Compute a 7D value of the Bessel function J0(x) for x = 1.72 from the four values in the following table, using (a) Newton’s forward formula (b) Newton’s backward formula Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 8 / 9
  • 9. Exercise Problem 1 Calculate the Lagrange polynomial p2(x) for the values Γ(1.00) = 1.0000, Γ(1.02) = 0.9888, Γ(1.04) = 0.9784 of the gamma function and from it approximate Γ(1.01) and Γ(1.03). 2 Find e−0.25 and e−0.75 by linear interpolation of e−x with x0 = 0, x1 = 0.5, and x0 = 0.5, x1 = 0, respectively. Then find p2(x) by quadratic interpolation of e−x with x0 = 0, x1 = 0.5, and x2 = 1 and from it e−0.25 and e−0.75 compare the errors. 3 Solve the above problem using Newton’s divide and difference interpolation method. Dr. Varun Kumar (IIIT Surat) Unit 2 / Lecture-3 9 / 9