SlideShare a Scribd company logo
1 of 39
Download to read offline
NUMERICAL METHODS
(06CT42)
Dr. N. Meenakshi Sundaram
Asst. Prof. of Physics
Vivekananda College
Tiruvedakam West - Madurai
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
CONTENTS
Power Series approximations
Solution by Taylor series (Type 1)
Euler’s Method
Runge-Kutta Method
Substituting these derivatives and truncating the series in (1) give the approximate solution at x.
Euler’s Method
In solving a first order differential equation by numerical methods, we come across two types of solutions:
• A series solution of y in terms of x, which will yield the value of y at a particular value of x by direct substitution in
the series solution.
• Values of y at specified values of x.
Runge-Kutta Method
The use of the previous methods to solve the differential equation numerically is restricted due to either slow
convergence or due to labour involved, especially in Taylor series method. But, in Runge-Kutta methods, the derivatives
of higher order are not required and we require only the given function values at different points. Since the derivation of
fourth order Runge-Kutta method is tedious, we will derive Runge-kutta method of second order.
Second order Runge-Kutta method (for first order O.D.E.)
By Taylor series
where a, b and m are constants to be determined to get the better accuracy of
where ℎ =∆𝑥.
Second order R.K. algorithm
Since the derivation of third and fourth order Runge-Kutta algorithms are tedious, we state them below for use.
The third order Runge-Kutta method algorithm is given below:
Third order
R.K. algorithm
The fourth order Runge-Kutta method algorithm is mostly used in problem unless other mentioned. It is
By Taylor Series Method,
By Taylor Series Method,
=0.3486875+(0.1)(4.012887)+0.01/2 (11.341286)+(0.001/6)(25.99808)+⋯
=0.8110156≈0.811 (three digits)
The exact value of y (0.1) = 0.3486955
and y (0.2) = 0.8112658.
Solution. h=0.2, ,
,
By Euler algorithm
Solution.
=(0.1)f(0.1,0.9005)=-0.0982.
By Taylor series method,
=0.1+0.01+0.00033+0.00000833+0.000000166+⋯
y(1.1)=0.11033847
By Taylor series
=0.11033847+0.121033847+2.21033847(0.005+0.0016666+⋯)
=0.24280160.
By Taylor series.
=0.194752003 + 0.18441984 - 0.0151668737 - 0.00451341243 + 0.00039360239
=0.35988515
=1 + (0.01) (-1) = 1-0.01=0.99.
=0.99 +(0.01) (-0.99) = 0.9801
x 0 0.01 0.02 0.03 0.04
Y 1 0.9900 0.9801 0.9703 0.9606
Exact y 1 0.9900 0.9802 0.9704 0.9608
Tabular values (step values) are
since y=e-x is the exact solution.
By fourth order Runge-Kutta method,
=(0.1) f (0.05,1.055)
=(0.1)(0.05+1.055)=0.1105
=(0.1) f (0.1,1.1105) = 0.12105
Now starting from
=0.144298048
=1.110342+1/6(0.794781008)=1.2428055
y(0.2)=1.2428055
Correct to four decimal places, y (0.2) =1.2428.
=(0.1)f(0.65,1.8071)
=0.1385
=(0.1)f(0.7,1.8764)
=0.1386
By Runge-Kutta method of fourth order,
=(0.1)f(0.75,1.9455)
=0.1383
2. What is Truncation error?
Truncation errors are the errors that result from using an approximation in place of an exact mathematical
procedure.
Reference Text Book: Numerical Methods – P.Kandasamy, K.Thilagavathy & K.Gunavathi,
S.Chand & Company Ltd., New Delhi, 2014.
Thank you

More Related Content

What's hot

First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
Nofal Umair
 
Ode powerpoint presentation1
Ode powerpoint presentation1Ode powerpoint presentation1
Ode powerpoint presentation1
Pokkarn Narkhede
 

What's hot (20)

Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
applications of first order non linear partial differential equation
applications of first order non linear partial differential equationapplications of first order non linear partial differential equation
applications of first order non linear partial differential equation
 
Interpolation in Numerical Methods
Interpolation in Numerical Methods Interpolation in Numerical Methods
Interpolation in Numerical Methods
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Unit vi
Unit viUnit vi
Unit vi
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
First order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applicationsFirst order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applications
 
Series solution to ordinary differential equations
Series solution to ordinary differential equations Series solution to ordinary differential equations
Series solution to ordinary differential equations
 
Initial value problems
Initial value problemsInitial value problems
Initial value problems
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Runge-Kutta methods with examples
Runge-Kutta methods with examplesRunge-Kutta methods with examples
Runge-Kutta methods with examples
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Ode powerpoint presentation1
Ode powerpoint presentation1Ode powerpoint presentation1
Ode powerpoint presentation1
 
Interpolation
InterpolationInterpolation
Interpolation
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 

Similar to Numerical Solution of Ordinary Differential Equations

The_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdfThe_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdf
P Ramana
 
Regularization Methods to Solve
Regularization Methods to SolveRegularization Methods to Solve
Regularization Methods to Solve
Komal Goyal
 

Similar to Numerical Solution of Ordinary Differential Equations (20)

Unit1 vrs
Unit1 vrsUnit1 vrs
Unit1 vrs
 
Ep 5512 lecture-02
Ep 5512 lecture-02Ep 5512 lecture-02
Ep 5512 lecture-02
 
numericalmethods.pdf
numericalmethods.pdfnumericalmethods.pdf
numericalmethods.pdf
 
Presentation03 ss
Presentation03 ssPresentation03 ss
Presentation03 ss
 
Term project
Term projectTerm project
Term project
 
ODE.pdf
ODE.pdfODE.pdf
ODE.pdf
 
An alternative scheme for approximating a periodic function
An alternative scheme for approximating a periodic functionAn alternative scheme for approximating a periodic function
An alternative scheme for approximating a periodic function
 
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCA
 
Matlab lab.pdf
Matlab lab.pdfMatlab lab.pdf
Matlab lab.pdf
 
Oscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controllerOscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controller
 
Oscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controllerOscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controller
 
Ch02 7
Ch02 7Ch02 7
Ch02 7
 
Maths ppt partial diffrentian eqn
Maths ppt partial diffrentian eqnMaths ppt partial diffrentian eqn
Maths ppt partial diffrentian eqn
 
The_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdfThe_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdf
 
Numerical solution of ordinary differential equations
Numerical solution of ordinary differential equationsNumerical solution of ordinary differential equations
Numerical solution of ordinary differential equations
 
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
Approximate Solution of a Linear Descriptor Dynamic Control System via a non-...
 
Regularization Methods to Solve
Regularization Methods to SolveRegularization Methods to Solve
Regularization Methods to Solve
 
A (  )-Stable Order Ten Second Derivative Block Multistep Method for Stiff I...
A (  )-Stable Order Ten Second Derivative Block Multistep Method for Stiff I...A (  )-Stable Order Ten Second Derivative Block Multistep Method for Stiff I...
A (  )-Stable Order Ten Second Derivative Block Multistep Method for Stiff I...
 
Divide and Conquer
Divide and ConquerDivide and Conquer
Divide and Conquer
 

More from Meenakshisundaram N

More from Meenakshisundaram N (9)

CSIR-UGC-NET-TIPS and Tricks to prepare Part A - Aptitude and Reasoning
CSIR-UGC-NET-TIPS and Tricks to prepare Part A - Aptitude and ReasoningCSIR-UGC-NET-TIPS and Tricks to prepare Part A - Aptitude and Reasoning
CSIR-UGC-NET-TIPS and Tricks to prepare Part A - Aptitude and Reasoning
 
Multiple Choice Questions - Numerical Methods
Multiple Choice Questions - Numerical MethodsMultiple Choice Questions - Numerical Methods
Multiple Choice Questions - Numerical Methods
 
So You Want to Be A Physicist
So You Want to Be A Physicist So You Want to Be A Physicist
So You Want to Be A Physicist
 
Wave Properties of Particles
Wave Properties of ParticlesWave Properties of Particles
Wave Properties of Particles
 
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
 
Study Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and IntegrationStudy Material Numerical Differentiation and Integration
Study Material Numerical Differentiation and Integration
 
Particle Properties of Waves
Particle Properties of Waves Particle Properties of Waves
Particle Properties of Waves
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
 
Tips and Tricks to Clear - CSIR-UGC NET- Physical Sciences
Tips and Tricks to Clear - CSIR-UGC NET- Physical SciencesTips and Tricks to Clear - CSIR-UGC NET- Physical Sciences
Tips and Tricks to Clear - CSIR-UGC NET- Physical Sciences
 

Recently uploaded

Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
Sérgio Sacani
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
RizalinePalanog2
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
ssuser79fe74
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 

Recently uploaded (20)

GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
American Type Culture Collection (ATCC).pptx
American Type Culture Collection (ATCC).pptxAmerican Type Culture Collection (ATCC).pptx
American Type Culture Collection (ATCC).pptx
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
 

Numerical Solution of Ordinary Differential Equations