SlideShare a Scribd company logo
1 of 13
NUMERICAL SOLUTION OF ORDINARY
DIFFERENTIAL EQUATIONS
TAYLOR SERIES METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑦𝑛
′
+
ℎ2
2!
𝑦𝑛
′′
+
ℎ3
3!
𝑦𝑛
′′′
+ ⋯
 Where 𝑦 𝑟
=
𝑑 𝑟 𝑦
𝑑𝑥 𝑟
MERITS AND DEMERITS OF TAYLOR
SERIES METHOD
 1. Taylor series method is a powerful single
step method if we are able to get the
successive derivatives easily. This method is
useful to give some initial values for powerful
numerical methods like Runge-kutta method.
 2. The disadvantage is that it became tedious
if the higher derivatives are complicated.
EULER’S METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛, 𝑦𝑛 , 𝑛 = 0,1,2 …
EULER’S ALGORITHM
 If 𝑥0 is the starting value,
 𝑦1 = 𝑦0 + ℎ𝑓(𝑥0, 𝑦0)
 𝑦2 = 𝑦1 + ℎ𝑓(𝑥1, 𝑦1). . .
 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓(𝑥 𝑛, 𝑦𝑛)
MODIFIED EULER’S METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛 +
ℎ
2
, 𝑦𝑛 +
FOURTH ORDER RUNGE- KUTTA METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary
value problem
 𝑘1 = ℎ𝑓(𝑥 𝑛, 𝑦𝑛)
 𝑘2 = ℎ𝑓 𝑥 𝑛 +
ℎ
2
, 𝑦𝑛 +
𝑘1
2
 𝑘3 = ℎ𝑓 𝑥 𝑛 +
ℎ
2
, 𝑦𝑛 +
𝑘2
2
 𝑘4 = ℎ𝑓(𝑥 𝑛 + ℎ, 𝑦𝑛 + 𝑘3)
 ∆𝑦 =
𝑘1+2𝑘2+2𝑘3+𝑘4
6
 𝑦 𝑛+1 = 𝑦𝑛 + ∆𝑦 , 𝑛 = 0, 1, 2, 3, . . .
MERITS OF RK-METHOD
 Runge- Kutta method is a single step
method.
 This method does not require prior
calculation of higher derivatives likes Taylor’s
series method.
 To find the value of y at 𝑥 = 𝑥 𝑟+1 we need
the value of y at 𝑥 𝑟 only.
MULTI STEP METHODS
 1. MILNE’S METHOD (MILNE’S
PREDICTOR AND CORRECTOR
METHOD)
 2. ADAM BASHFORTH
METHOD(ADAM’S PREDICTOR AND
CORRECTOR METHOD)
MILNE’S METHOD
MILNE‘S PREDICTOR FORMULA
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 𝑦 𝑛+1 = 𝑦 𝑛 −3 +
4ℎ
3
2𝑦 𝑛−2
′
− 𝑦 𝑛−1
′
+ 2𝑦 𝑛
′
MILNE‘S CORRECTOR FORMULA
 𝑦 𝑛+1 = 𝑦 𝑛−1 +
ℎ
3
𝑦′
𝑛−1 + 4𝑦𝑛
′
+ 𝑦 𝑛+1
′
,
 𝑤ℎ𝑒𝑟𝑒 𝑦 𝑛+1
′
= 𝑓 𝑥 𝑛+1, 𝑦 𝑛+1
 In particular,
 Milne’s predictor formula:
𝑦4 = 𝑦0 +
4ℎ
3
[2𝑦1
′
− 𝑦2
′
+ 2𝑦3
′
]
 Milne’s Corrector formula:
𝑦4 = 𝑦2 +
ℎ
3
[𝑦2
′
+ 4𝑦3
′
+ 𝑦4
′
]
ADAM- BASHFORTH METHOD
ADAM- BASHFORTH PREDICTOR
FORMULA
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 𝑦 𝑛+1 = 𝑦𝑛 +
ℎ
24
55 𝑦𝑛
′ − 59𝑦 𝑛−1
′
+ 37𝑦 𝑛−2
′
− 9 𝑦 𝑛−3
′
 ADAM- BASHFORTH CORRECTOR
FORMULA
 𝑦 𝑛+1 = 𝑦𝑛 +
ℎ
24
9 𝑦 𝑛+1
′
+ 19𝑦𝑛
′ − 5𝑦 𝑛−1
′
+ 𝑦 𝑛−2
′
 In particular,
 Adam’s predictor formula
𝑦4 = 𝑦3 +
ℎ
24
55 𝑦3
′
− 59𝑦2
′
+ 37𝑦1
′
− 9 𝑦0
′
 Adam’s corrector formula
𝑦4 = 𝑦3 +
ℎ
24
9 𝑦4
′
+ 19𝑦3
′
− 5𝑦2
′
+ 𝑦1
′

More Related Content

What's hot

Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler methodSohaib Butt
 
Numerical solution of ordinary differential equation
Numerical solution of ordinary differential equationNumerical solution of ordinary differential equation
Numerical solution of ordinary differential equationDixi Patel
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Differential equations
Differential equationsDifferential equations
Differential equationsSeyid Kadher
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equationsEmdadul Haque Milon
 
Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method  Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method AMINULISLAM439
 
Solving systems with elimination
Solving systems with eliminationSolving systems with elimination
Solving systems with eliminationAmanda Ann
 
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
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation Abdul Hannan
 
Finite difference method
Finite difference methodFinite difference method
Finite difference methodDivyansh Verma
 
Linear equation in 2 variables
Linear equation in 2 variablesLinear equation in 2 variables
Linear equation in 2 variablesavb public school
 
Partial Differential Equation - Notes
Partial Differential Equation - NotesPartial Differential Equation - Notes
Partial Differential Equation - NotesDr. Nirav Vyas
 

What's hot (20)

Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler method
 
Secant Method
Secant MethodSecant Method
Secant Method
 
Numerical solution of ordinary differential equation
Numerical solution of ordinary differential equationNumerical solution of ordinary differential equation
Numerical solution of ordinary differential equation
 
Introduction to differential equation
Introduction to differential equationIntroduction to differential equation
Introduction to differential equation
 
DIFFERENTIAL EQUATIONS
DIFFERENTIAL EQUATIONSDIFFERENTIAL EQUATIONS
DIFFERENTIAL EQUATIONS
 
Jacobi method
Jacobi methodJacobi method
Jacobi method
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equations
 
Secant method
Secant method Secant method
Secant method
 
Runge Kutta Method
Runge Kutta MethodRunge Kutta Method
Runge Kutta Method
 
Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method  Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method
 
Solving systems with elimination
Solving systems with eliminationSolving systems with elimination
Solving systems with elimination
 
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
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation
 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
 
Linear equation in 2 variables
Linear equation in 2 variablesLinear equation in 2 variables
Linear equation in 2 variables
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Partial Differential Equation - Notes
Partial Differential Equation - NotesPartial Differential Equation - Notes
Partial Differential Equation - Notes
 

Similar to Numerical ODE Solvers

Study Material Numerical Solution of Odinary Differential Equations
Study Material Numerical Solution of Odinary Differential EquationsStudy Material Numerical Solution of Odinary Differential Equations
Study Material Numerical Solution of Odinary Differential EquationsMeenakshisundaram N
 
Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodNaimesh Bhavsar
 
MATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptxMATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptxmassm99m
 
Advanced Engineering Mathematics
Advanced Engineering MathematicsAdvanced Engineering Mathematics
Advanced Engineering MathematicsMohsen EM
 
Numerical Techniques
Numerical TechniquesNumerical Techniques
Numerical TechniquesYasir Mahdi
 
Lecture-1-Mech.pptx . .
Lecture-1-Mech.pptx                   . .Lecture-1-Mech.pptx                   . .
Lecture-1-Mech.pptx . .happycocoman
 
Ecuaciones lineales de orden superior
Ecuaciones lineales de orden superiorEcuaciones lineales de orden superior
Ecuaciones lineales de orden superiormariarivas114
 
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...IOSRJM
 
Functions of severable variables
Functions of severable variablesFunctions of severable variables
Functions of severable variablesSanthanam Krishnan
 
Higher order differential equation
Higher order differential equationHigher order differential equation
Higher order differential equationSooraj Maurya
 

Similar to Numerical ODE Solvers (20)

Study Material Numerical Solution of Odinary Differential Equations
Study Material Numerical Solution of Odinary Differential EquationsStudy Material Numerical Solution of Odinary Differential Equations
Study Material Numerical Solution of Odinary Differential Equations
 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCA
 
Taylors series
Taylors series Taylors series
Taylors series
 
doc
docdoc
doc
 
Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan method
 
MATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptxMATRICES AND CALCULUS.pptx
MATRICES AND CALCULUS.pptx
 
Johelbys campos2
Johelbys campos2Johelbys campos2
Johelbys campos2
 
Advanced Engineering Mathematics
Advanced Engineering MathematicsAdvanced Engineering Mathematics
Advanced Engineering Mathematics
 
Euler's and picard's
Euler's and picard'sEuler's and picard's
Euler's and picard's
 
Numerical Techniques
Numerical TechniquesNumerical Techniques
Numerical Techniques
 
odes1.pptx
odes1.pptxodes1.pptx
odes1.pptx
 
Four Point Gauss Quadrature Runge – Kuta Method Of Order 8 For Ordinary Diffe...
Four Point Gauss Quadrature Runge – Kuta Method Of Order 8 For Ordinary Diffe...Four Point Gauss Quadrature Runge – Kuta Method Of Order 8 For Ordinary Diffe...
Four Point Gauss Quadrature Runge – Kuta Method Of Order 8 For Ordinary Diffe...
 
Lecture-1-Mech.pptx . .
Lecture-1-Mech.pptx                   . .Lecture-1-Mech.pptx                   . .
Lecture-1-Mech.pptx . .
 
Ecuaciones lineales de orden superior
Ecuaciones lineales de orden superiorEcuaciones lineales de orden superior
Ecuaciones lineales de orden superior
 
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
 
Functions of severable variables
Functions of severable variablesFunctions of severable variables
Functions of severable variables
 
Computational Dynamics edited
Computational Dynamics editedComputational Dynamics edited
Computational Dynamics edited
 
jake.pptx
jake.pptxjake.pptx
jake.pptx
 
Term project
Term projectTerm project
Term project
 
Higher order differential equation
Higher order differential equationHigher order differential equation
Higher order differential equation
 

More from Santhanam Krishnan (20)

Matrices
MatricesMatrices
Matrices
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Differential calculus maxima minima
Differential calculus  maxima minimaDifferential calculus  maxima minima
Differential calculus maxima minima
 
Differential Calculus- differentiation
Differential Calculus- differentiationDifferential Calculus- differentiation
Differential Calculus- differentiation
 
Differential calculus
Differential calculus  Differential calculus
Differential calculus
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Fourier series
Fourier series Fourier series
Fourier series
 
Solution to second order pde
Solution to second order pdeSolution to second order pde
Solution to second order pde
 
Solution to pde
Solution to pdeSolution to pde
Solution to pde
 
Pde lagrangian
Pde lagrangianPde lagrangian
Pde lagrangian
 
Laplace transformation
Laplace transformationLaplace transformation
Laplace transformation
 
Complex integration
Complex integrationComplex integration
Complex integration
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Design of experiments
Design of experimentsDesign of experiments
Design of experiments
 
Interpolation
InterpolationInterpolation
Interpolation
 
Solution of equations and eigenvalue problems
Solution of equations and eigenvalue problemsSolution of equations and eigenvalue problems
Solution of equations and eigenvalue problems
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Recently uploaded (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 

Numerical ODE Solvers

  • 1. NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
  • 2. TAYLOR SERIES METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑦𝑛 ′ + ℎ2 2! 𝑦𝑛 ′′ + ℎ3 3! 𝑦𝑛 ′′′ + ⋯  Where 𝑦 𝑟 = 𝑑 𝑟 𝑦 𝑑𝑥 𝑟
  • 3. MERITS AND DEMERITS OF TAYLOR SERIES METHOD  1. Taylor series method is a powerful single step method if we are able to get the successive derivatives easily. This method is useful to give some initial values for powerful numerical methods like Runge-kutta method.  2. The disadvantage is that it became tedious if the higher derivatives are complicated.
  • 4. EULER’S METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛, 𝑦𝑛 , 𝑛 = 0,1,2 …
  • 5. EULER’S ALGORITHM  If 𝑥0 is the starting value,  𝑦1 = 𝑦0 + ℎ𝑓(𝑥0, 𝑦0)  𝑦2 = 𝑦1 + ℎ𝑓(𝑥1, 𝑦1). . .  𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓(𝑥 𝑛, 𝑦𝑛)
  • 6. MODIFIED EULER’S METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛 + ℎ 2 , 𝑦𝑛 +
  • 7. FOURTH ORDER RUNGE- KUTTA METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  𝑘1 = ℎ𝑓(𝑥 𝑛, 𝑦𝑛)  𝑘2 = ℎ𝑓 𝑥 𝑛 + ℎ 2 , 𝑦𝑛 + 𝑘1 2  𝑘3 = ℎ𝑓 𝑥 𝑛 + ℎ 2 , 𝑦𝑛 + 𝑘2 2  𝑘4 = ℎ𝑓(𝑥 𝑛 + ℎ, 𝑦𝑛 + 𝑘3)  ∆𝑦 = 𝑘1+2𝑘2+2𝑘3+𝑘4 6  𝑦 𝑛+1 = 𝑦𝑛 + ∆𝑦 , 𝑛 = 0, 1, 2, 3, . . .
  • 8. MERITS OF RK-METHOD  Runge- Kutta method is a single step method.  This method does not require prior calculation of higher derivatives likes Taylor’s series method.  To find the value of y at 𝑥 = 𝑥 𝑟+1 we need the value of y at 𝑥 𝑟 only.
  • 9. MULTI STEP METHODS  1. MILNE’S METHOD (MILNE’S PREDICTOR AND CORRECTOR METHOD)  2. ADAM BASHFORTH METHOD(ADAM’S PREDICTOR AND CORRECTOR METHOD)
  • 10. MILNE’S METHOD MILNE‘S PREDICTOR FORMULA  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  𝑦 𝑛+1 = 𝑦 𝑛 −3 + 4ℎ 3 2𝑦 𝑛−2 ′ − 𝑦 𝑛−1 ′ + 2𝑦 𝑛 ′ MILNE‘S CORRECTOR FORMULA  𝑦 𝑛+1 = 𝑦 𝑛−1 + ℎ 3 𝑦′ 𝑛−1 + 4𝑦𝑛 ′ + 𝑦 𝑛+1 ′ ,  𝑤ℎ𝑒𝑟𝑒 𝑦 𝑛+1 ′ = 𝑓 𝑥 𝑛+1, 𝑦 𝑛+1
  • 11.  In particular,  Milne’s predictor formula: 𝑦4 = 𝑦0 + 4ℎ 3 [2𝑦1 ′ − 𝑦2 ′ + 2𝑦3 ′ ]  Milne’s Corrector formula: 𝑦4 = 𝑦2 + ℎ 3 [𝑦2 ′ + 4𝑦3 ′ + 𝑦4 ′ ]
  • 12. ADAM- BASHFORTH METHOD ADAM- BASHFORTH PREDICTOR FORMULA  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  𝑦 𝑛+1 = 𝑦𝑛 + ℎ 24 55 𝑦𝑛 ′ − 59𝑦 𝑛−1 ′ + 37𝑦 𝑛−2 ′ − 9 𝑦 𝑛−3 ′  ADAM- BASHFORTH CORRECTOR FORMULA  𝑦 𝑛+1 = 𝑦𝑛 + ℎ 24 9 𝑦 𝑛+1 ′ + 19𝑦𝑛 ′ − 5𝑦 𝑛−1 ′ + 𝑦 𝑛−2 ′
  • 13.  In particular,  Adam’s predictor formula 𝑦4 = 𝑦3 + ℎ 24 55 𝑦3 ′ − 59𝑦2 ′ + 37𝑦1 ′ − 9 𝑦0 ′  Adam’s corrector formula 𝑦4 = 𝑦3 + ℎ 24 9 𝑦4 ′ + 19𝑦3 ′ − 5𝑦2 ′ + 𝑦1 ′