SlideShare ist ein Scribd-Unternehmen logo
1 von 19
SOLUTION OF ORDINARY DIFFERENTIAL EQUATION:
A NUMERICAL APPROACH
Department of Pure and Applied Science
MIDNAPORE CITY COLLEGE
Kuturiya, P.O. Bhadutala,
Paschim Medinipur, Pin-721129
West Bengal, India
2022
Submitted by
Arijit Kundu
UNDER GUIDANCE OF
Dr. Sushil Kr. Ghosh
CONTENTS
ļƒ˜CHAPTER 1: INTRODUCTON
ļƒ˜CHAPTER 2: AIMS AND OBJECTIVE
ļƒ˜CHAPTER 3: METHODS
ļƒ˜CHAPTER 4: SHOOTING METHOD
ļƒ˜CHAPTER 5: WORKING PROCEDURE
ļƒ˜CHAPTER 6: RESULT
ļƒ˜CHAPTER 7: CONCLUSION
ļƒ˜CHAPTER 8: FUTURE SCOPE
ļƒ˜REFERRENCES
INTRODUCTION
A boundary value problem is a system of ordinary differential equation
with solution and derivatives values specified at more than one point .
Most commonly the solution and derivatives are specified at just two
point boundary value problem.
Consider the two point boundary value problem
š‘¢ā€²ā€² = š‘“ š‘„, š‘¢, š‘¢ā€² , š‘„ āˆˆ š‘Ž, š‘ ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦. (1)
where a prime denotes differentiation with respect to x, with one of the following three
boundary conditions.
Boundary conditions of the first kind:
š‘¢ š‘Ž = š›¾1 , š‘¢ š‘ = š›¾2 . ā€¦ā€¦ā€¦ā€¦.ā€¦..ā€¦.. (2)
Boundary conditions of second kind:
š‘¢ā€² š‘Ž = š›¾1 , š‘¢ā€² š‘ = š›¾2 ā€¦ā€¦ā€¦ā€¦ā€¦...ā€¦.ā€¦ā€¦ (3)
Boundary conditions of third kind (or mixed kind):
š‘Ž0š‘¢ š‘Ž āˆ’ š‘Ž1š‘¢ā€² š‘Ž = š›¾1 ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦. (1.4i)
š‘0š‘¢ š‘ āˆ’ š‘1š‘¢ā€² š‘ = š›¾2 ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦. (1.4ii)
where š‘Ž0, š‘0, š‘Ž1, š‘1,š›¾1 and š›¾2 are constants such that
š‘Ž0š‘Ž1 ā‰„ 0 , š‘Ž0 + |š‘Ž1| ā‰  0
š‘0š‘1 ā‰„ 0 , š‘0 + š‘1 ā‰  0 and š‘Ž0 + |š‘0| ā‰  0
Aims and Objective
We are solving ordinary differential equation initial problems numerically so
that I can solve more complicated differential equations in the future with more
accuracy and less errors.
METHODS :
(i) Shooting methods
(ii) Finite Difference methods
(iii) Finite element methods
SHOOTING METHOD
Shooting method is a famous method for numerical solution of
second order differential equation when boundary condition is
known.
Shooting method convert the given boundary value problem into
initial value problem and solves the problem by using fourth
order Runge Kutta method.
WORKING PROCEDURE :
1. As the user executes the program, it asks for boundary values i.e. initial
value of x (x0), initial value of y (y0), final value of x (xn), final value of
y (yn) and the value of increment (h).
2. The second step of calculation is to convert this boundary value problem
into initial value problem.
3. After the conversion into initial value problem, the user has to
input the initial guess value of z (M1) which is known as shooting.
4. Using this guess value of z, the program calculates intermediate
values of z & y . The final value of y obtained is assigned as B1.
5. Again, the user has to shoot i.e. the shooting method program
asks second initial guess value of z (M2).
6. Using M2, new values of y and z are calculated. The final value of y obtained
in second guess is assigned as B2 in the program.
7. (M1, B1), (M2, B2), and ( y0, z0 ) are assumed to be collinear in this C
program and value of z0 determined using following equation,(B2-B1)/(M2-M1)
= (z0-B2)/(y0-M2)
8. Using this new and exact value of z, intermediate values are calculated using
Runge Kuttta Method.
9. Finally, the program prints the result.
RESULT
Solution of Ordinary Differential Equation by Shooting Method:
(i)
š‘‘2š‘¢
š‘‘š‘„2 = š‘¢(š‘¢ āˆ’ 1) with conditions š‘¢ 0 = 0, š‘¢ 1 = š‘’2 āˆ’ 1
Graph lineā€”S1
š‘’ = 2.71828
(ii)
š‘‘2š‘¢
š‘‘š‘„2 = 2š‘¢ āˆ’ š‘¢ā€² with conditions š‘¢ 1 = 2š‘’ + š‘’āˆ’2, š‘¢ 1 = 2š‘’2 āˆ’
š‘’āˆ’4 Graph lineā€”S2
Solve IVP Of Second Order Differential Equation by Runge-
Kutta Method :
(i)
š‘‘2š‘¢
š‘‘š‘„2 = š‘¢ āˆ’ š‘„2 with conditions š‘¢ 0 = 0, š‘¢ 0 = 0 Graph lineā€”R1
(ii)
š‘‘2š‘£
š‘‘š‘„2 = š‘£2 with conditions š‘£ 0 = 0, š‘£ 0 = 1.0 Graph lineā€”R2
(iii)
š‘‘2š‘¢
š‘‘š‘„2 = š‘¢ āˆ’ š‘„ with conditions š‘¢ 0 = 0.0, š‘¢ 0 = 0.0 Graph lineā€”R3
(iv)
š‘‘2š‘£
š‘‘š‘„2 = š‘£ with conditions š‘£ 0 = 0, š‘£ 0 = 1.0 Graph lineā€”R4
(v)
š‘‘2š‘¢
š‘‘š‘„2 = š‘¢ āˆ’ š‘„2 with conditions š‘¢ 0 = 0.0, š‘¢ 0 = 1.0 Graph lineā€”R5
(vi)
š‘‘2š‘£
š‘‘š‘„2 = š‘£2 with conditions š‘£ 0 = 1.0, š‘£ 0 = 0.0 Graph lineā€”R6
(vii)
š‘‘2š‘¢
š‘‘š‘„2 = š‘¢š‘’š‘„ āˆ’ š‘„2 with conditions š‘¢ 0 = 0.0, š‘¢ 0 = 1.0 Graph lineā€”R7
(viii)
š‘‘2š‘£
š‘‘š‘„2 = š‘£2 + š‘’š‘„ with conditions š‘£ 0 = 0.0, š‘£ 0 = 1.0 Graph lineā€”R8
I have solved boundary value problem of second order ordinary differential equations.
My aim is to solve a linear differential equation with two boundary conditions. However,
the method of solving a boundary value problem may not always gives a feasible solution
and that to overcome the anomalies we would like to solve initial value problem by
taking initial guess. The solution obtained these way we check through the given
boundary condition, if not achieved we may change our guess and try to satisfy boundary
condition. Since, with guess of initial condition we proceed to solve a boundary value
problem and again guess arbitary, it attributed to be a shooting and we call it a shooting
method. Another way, we may solve it as to use of Runge-Kutta method. Here, the
theoretical discussion succeeded to the experimental observation as a computer
programming and the graphical representation of the data. This project report implies
that the solution of differential equation either linear or non-linear can be solved by
numerical method for any elaborative solution.
CONCLUSION
FUTURE SCOPE
Here, it is to be noted that we have only solved boundary value problem of first kind;
though three kinds of possibilities may occur. A succeeding example/problem may be
generated so as to solve same problems with remaining two cases and compared. This
comparison also sought error analysis as well as stability analysis. Also, in some physical
problem we may encounter non-linear ordinary differential equation with boundary
conditions. Most of the physical phenomenon arises as known initial conditions and
deserves its future course of action. In that mathematical model the present study may be
recognized as the first step and the mathematical methods may upgraded as fourth/fifth
order Runge-Kutta method. A challenging task may be attributed to the solution of non-
linear ordinary simultaneous equations with the use of Runge-Kutta method and the
investigation of accuracy.
Atkinson, K. E., An Introduction to Numerical Analysis, John Wiley and Sons, 1978.
C. F. Gerald and P. O. Wheatly (2014) Applied Numerical Analysis, Addison- Wesley
M. K. Jain, S. R. K. Iyengar and R. K. Jain (2016), Numerical Methods for Scientific and Engineering Computation,
New- Age International Publication
M. Pal (2008) Numerical Analysis for Scientist and Engineers,
Narosa
C.H. Edwards and D.E. Penny, Differential Equations and Boundary Value problems Computing and Modeling,
Pearson Education India, 2005.
Boyce and Diprima, Elementary Differential Equations and Boundary Value Problems, Wiley.
Brian Bradie, A Friendly Introduction to Numerical Analysis,
Pearson Education, India, 2007.
E. V. Krishnamurty and S. K. Sen (1999), Numerical Algorithm,
East-West Press Pvt. Ltd. New Delhi.
REFERENCES
THANK YOUā€¦

Weitere Ƥhnliche Inhalte

Was ist angesagt?

Finite element method
Finite element methodFinite element method
Finite element methodMANISH RANJAN
Ā 
(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics
(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics
(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanicsAntonio Vinnie
Ā 
Galerkin method
Galerkin methodGalerkin method
Galerkin methodmullerasmare
Ā 
Ejercicios De D Zill 8Ā° Edicion
Ejercicios  De D Zill 8Ā° EdicionEjercicios  De D Zill 8Ā° Edicion
Ejercicios De D Zill 8Ā° EdicionMartin Galvez
Ā 
First Order Differential Equations
First Order Differential EquationsFirst Order Differential Equations
First Order Differential EquationsItishree Dash
Ā 
FEA Analysis - Thin Plate
FEA Analysis - Thin PlateFEA Analysis - Thin Plate
FEA Analysis - Thin PlateStasik Nemirovsky
Ā 
Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...
Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...
Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...IOSR Journals
Ā 
Introduction of OpenSees
Introduction of  OpenSeesIntroduction of  OpenSees
Introduction of OpenSeesDhanaji Chavan
Ā 
Point Collocation Method used in the solving of Differential Equations, parti...
Point Collocation Method used in the solving of Differential Equations, parti...Point Collocation Method used in the solving of Differential Equations, parti...
Point Collocation Method used in the solving of Differential Equations, parti...Suddhasheel GHOSH, PhD
Ā 
Complex Variables and Numerical Methods
Complex Variables and Numerical MethodsComplex Variables and Numerical Methods
Complex Variables and Numerical MethodsDhrumit Patel
Ā 
Finite difference method
Finite difference methodFinite difference method
Finite difference methodDivyansh Verma
Ā 
Numerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsNumerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsMeenakshisundaram N
Ā 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration8laddu8
Ā 
An Introduction to the Finite Element Method
An Introduction to the Finite Element MethodAn Introduction to the Finite Element Method
An Introduction to the Finite Element MethodMohammad Tawfik
Ā 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsmuhammadabullah
Ā 

Was ist angesagt? (20)

Finite element method
Finite element methodFinite element method
Finite element method
Ā 
(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics
(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics
(Ebook pdf) - physics - introduction to tensor calculus and continuum mechanics
Ā 
Galerkin method
Galerkin methodGalerkin method
Galerkin method
Ā 
Euler's Method.pdf
Euler's Method.pdfEuler's Method.pdf
Euler's Method.pdf
Ā 
Ejercicios De D Zill 8Ā° Edicion
Ejercicios  De D Zill 8Ā° EdicionEjercicios  De D Zill 8Ā° Edicion
Ejercicios De D Zill 8Ā° Edicion
Ā 
Series de fourier y aplicaciones
Series de fourier y aplicacionesSeries de fourier y aplicaciones
Series de fourier y aplicaciones
Ā 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
Ā 
First Order Differential Equations
First Order Differential EquationsFirst Order Differential Equations
First Order Differential Equations
Ā 
FEA Analysis - Thin Plate
FEA Analysis - Thin PlateFEA Analysis - Thin Plate
FEA Analysis - Thin Plate
Ā 
Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...
Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...
Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Bounda...
Ā 
Introduction of OpenSees
Introduction of  OpenSeesIntroduction of  OpenSees
Introduction of OpenSees
Ā 
Separation of variables
Separation of variablesSeparation of variables
Separation of variables
Ā 
Point Collocation Method used in the solving of Differential Equations, parti...
Point Collocation Method used in the solving of Differential Equations, parti...Point Collocation Method used in the solving of Differential Equations, parti...
Point Collocation Method used in the solving of Differential Equations, parti...
Ā 
Complex Variables and Numerical Methods
Complex Variables and Numerical MethodsComplex Variables and Numerical Methods
Complex Variables and Numerical Methods
Ā 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
Ā 
Numerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsNumerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential Equations
Ā 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
Ā 
An Introduction to the Finite Element Method
An Introduction to the Finite Element MethodAn Introduction to the Finite Element Method
An Introduction to the Finite Element Method
Ā 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
Ā 
Finite difference equation
Finite difference equationFinite difference equation
Finite difference equation
Ā 

Ƅhnlich wie arijit ppt (1) (1).pptx

Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...IOSR Journals
Ā 
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...rahulmonikasharma
Ā 
Numerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project ReportNumerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project ReportShikhar Agarwal
Ā 
article_imen_ridha_2016_version_finale
article_imen_ridha_2016_version_finalearticle_imen_ridha_2016_version_finale
article_imen_ridha_2016_version_finaleMdimagh Ridha
Ā 
Extended Analysis of Cauchyā€™s Inequality
Extended Analysis of Cauchyā€™s InequalityExtended Analysis of Cauchyā€™s Inequality
Extended Analysis of Cauchyā€™s InequalityIRJET Journal
Ā 
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...IJCSIS Research Publications
Ā 
Multivariate Analysis of Cauchyā€™s Inequality
Multivariate Analysis of Cauchyā€™s InequalityMultivariate Analysis of Cauchyā€™s Inequality
Multivariate Analysis of Cauchyā€™s InequalityIRJET Journal
Ā 
A Regularized Simplex Method
A Regularized Simplex MethodA Regularized Simplex Method
A Regularized Simplex MethodGina Brown
Ā 
Spectral methods for solving differential equations
Spectral methods for solving differential equationsSpectral methods for solving differential equations
Spectral methods for solving differential equationsRajesh Aggarwal
Ā 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...SSA KPI
Ā 
The Sample Average Approximation Method for Stochastic Programs with Integer ...
The Sample Average Approximation Method for Stochastic Programs with Integer ...The Sample Average Approximation Method for Stochastic Programs with Integer ...
The Sample Average Approximation Method for Stochastic Programs with Integer ...SSA KPI
Ā 
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...Martha Brown
Ā 
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...inventionjournals
Ā 
A New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptxA New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptxMasoudIbrahim3
Ā 
On image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDAOn image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDARaghu Palakodety
Ā 
A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...
A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...
A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...Waqas Tariq
Ā 
Application of Adomian Decomposition Method in Solving Second Order Nonlinear...
Application of Adomian Decomposition Method in Solving Second Order Nonlinear...Application of Adomian Decomposition Method in Solving Second Order Nonlinear...
Application of Adomian Decomposition Method in Solving Second Order Nonlinear...inventionjournals
Ā 

Ƅhnlich wie arijit ppt (1) (1).pptx (20)

Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Numerical Solutions of Stiff Initial Value Problems Using Modified Extended B...
Ā 
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Numerical Solution to Ninth order Non- Linear Differential Equation Using the...
Ā 
Numerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project ReportNumerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project Report
Ā 
article_imen_ridha_2016_version_finale
article_imen_ridha_2016_version_finalearticle_imen_ridha_2016_version_finale
article_imen_ridha_2016_version_finale
Ā 
Extended Analysis of Cauchyā€™s Inequality
Extended Analysis of Cauchyā€™s InequalityExtended Analysis of Cauchyā€™s Inequality
Extended Analysis of Cauchyā€™s Inequality
Ā 
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Ā 
Multivariate Analysis of Cauchyā€™s Inequality
Multivariate Analysis of Cauchyā€™s InequalityMultivariate Analysis of Cauchyā€™s Inequality
Multivariate Analysis of Cauchyā€™s Inequality
Ā 
A Regularized Simplex Method
A Regularized Simplex MethodA Regularized Simplex Method
A Regularized Simplex Method
Ā 
Spectral methods for solving differential equations
Spectral methods for solving differential equationsSpectral methods for solving differential equations
Spectral methods for solving differential equations
Ā 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Ā 
Finite Element Methods
Finite Element  MethodsFinite Element  Methods
Finite Element Methods
Ā 
The Sample Average Approximation Method for Stochastic Programs with Integer ...
The Sample Average Approximation Method for Stochastic Programs with Integer ...The Sample Average Approximation Method for Stochastic Programs with Integer ...
The Sample Average Approximation Method for Stochastic Programs with Integer ...
Ā 
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
Ā 
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...
Ā 
A New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptxA New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptx
Ā 
Talk iccf 19_ben_hammouda
Talk iccf 19_ben_hammoudaTalk iccf 19_ben_hammouda
Talk iccf 19_ben_hammouda
Ā 
F0333034038
F0333034038F0333034038
F0333034038
Ā 
On image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDAOn image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDA
Ā 
A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...
A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...
A Computationally Efficient Algorithm to Solve Generalized Method of Moments ...
Ā 
Application of Adomian Decomposition Method in Solving Second Order Nonlinear...
Application of Adomian Decomposition Method in Solving Second Order Nonlinear...Application of Adomian Decomposition Method in Solving Second Order Nonlinear...
Application of Adomian Decomposition Method in Solving Second Order Nonlinear...
Ā 

KĆ¼rzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
Ā 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
Ā 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
Ā 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
Ā 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
Ā 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
Ā 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
Ā 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
Ā 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
Ā 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
Ā 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
Ā 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
Ā 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
Ā 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
Ā 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
Ā 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
Ā 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
Ā 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
Ā 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
Ā 

KĆ¼rzlich hochgeladen (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
Ā 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
Ā 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
Ā 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Ā 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
Ā 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
Ā 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Ā 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ā 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
Ā 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
Ā 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Ā 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Ā 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
Ā 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
Ā 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
Ā 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Ā 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
Ā 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
Ā 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
Ā 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Ā 

arijit ppt (1) (1).pptx

  • 1. SOLUTION OF ORDINARY DIFFERENTIAL EQUATION: A NUMERICAL APPROACH Department of Pure and Applied Science MIDNAPORE CITY COLLEGE Kuturiya, P.O. Bhadutala, Paschim Medinipur, Pin-721129 West Bengal, India 2022 Submitted by Arijit Kundu UNDER GUIDANCE OF Dr. Sushil Kr. Ghosh
  • 2. CONTENTS ļƒ˜CHAPTER 1: INTRODUCTON ļƒ˜CHAPTER 2: AIMS AND OBJECTIVE ļƒ˜CHAPTER 3: METHODS ļƒ˜CHAPTER 4: SHOOTING METHOD ļƒ˜CHAPTER 5: WORKING PROCEDURE ļƒ˜CHAPTER 6: RESULT ļƒ˜CHAPTER 7: CONCLUSION ļƒ˜CHAPTER 8: FUTURE SCOPE ļƒ˜REFERRENCES
  • 3. INTRODUCTION A boundary value problem is a system of ordinary differential equation with solution and derivatives values specified at more than one point . Most commonly the solution and derivatives are specified at just two point boundary value problem.
  • 4. Consider the two point boundary value problem š‘¢ā€²ā€² = š‘“ š‘„, š‘¢, š‘¢ā€² , š‘„ āˆˆ š‘Ž, š‘ ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦. (1) where a prime denotes differentiation with respect to x, with one of the following three boundary conditions. Boundary conditions of the first kind: š‘¢ š‘Ž = š›¾1 , š‘¢ š‘ = š›¾2 . ā€¦ā€¦ā€¦ā€¦.ā€¦..ā€¦.. (2) Boundary conditions of second kind: š‘¢ā€² š‘Ž = š›¾1 , š‘¢ā€² š‘ = š›¾2 ā€¦ā€¦ā€¦ā€¦ā€¦...ā€¦.ā€¦ā€¦ (3)
  • 5. Boundary conditions of third kind (or mixed kind): š‘Ž0š‘¢ š‘Ž āˆ’ š‘Ž1š‘¢ā€² š‘Ž = š›¾1 ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦. (1.4i) š‘0š‘¢ š‘ āˆ’ š‘1š‘¢ā€² š‘ = š›¾2 ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦ā€¦. (1.4ii) where š‘Ž0, š‘0, š‘Ž1, š‘1,š›¾1 and š›¾2 are constants such that š‘Ž0š‘Ž1 ā‰„ 0 , š‘Ž0 + |š‘Ž1| ā‰  0 š‘0š‘1 ā‰„ 0 , š‘0 + š‘1 ā‰  0 and š‘Ž0 + |š‘0| ā‰  0
  • 6. Aims and Objective We are solving ordinary differential equation initial problems numerically so that I can solve more complicated differential equations in the future with more accuracy and less errors.
  • 7. METHODS : (i) Shooting methods (ii) Finite Difference methods (iii) Finite element methods
  • 8. SHOOTING METHOD Shooting method is a famous method for numerical solution of second order differential equation when boundary condition is known. Shooting method convert the given boundary value problem into initial value problem and solves the problem by using fourth order Runge Kutta method.
  • 9. WORKING PROCEDURE : 1. As the user executes the program, it asks for boundary values i.e. initial value of x (x0), initial value of y (y0), final value of x (xn), final value of y (yn) and the value of increment (h). 2. The second step of calculation is to convert this boundary value problem into initial value problem.
  • 10. 3. After the conversion into initial value problem, the user has to input the initial guess value of z (M1) which is known as shooting. 4. Using this guess value of z, the program calculates intermediate values of z & y . The final value of y obtained is assigned as B1. 5. Again, the user has to shoot i.e. the shooting method program asks second initial guess value of z (M2).
  • 11. 6. Using M2, new values of y and z are calculated. The final value of y obtained in second guess is assigned as B2 in the program. 7. (M1, B1), (M2, B2), and ( y0, z0 ) are assumed to be collinear in this C program and value of z0 determined using following equation,(B2-B1)/(M2-M1) = (z0-B2)/(y0-M2) 8. Using this new and exact value of z, intermediate values are calculated using Runge Kuttta Method. 9. Finally, the program prints the result.
  • 12. RESULT Solution of Ordinary Differential Equation by Shooting Method: (i) š‘‘2š‘¢ š‘‘š‘„2 = š‘¢(š‘¢ āˆ’ 1) with conditions š‘¢ 0 = 0, š‘¢ 1 = š‘’2 āˆ’ 1 Graph lineā€”S1 š‘’ = 2.71828 (ii) š‘‘2š‘¢ š‘‘š‘„2 = 2š‘¢ āˆ’ š‘¢ā€² with conditions š‘¢ 1 = 2š‘’ + š‘’āˆ’2, š‘¢ 1 = 2š‘’2 āˆ’ š‘’āˆ’4 Graph lineā€”S2
  • 13.
  • 14. Solve IVP Of Second Order Differential Equation by Runge- Kutta Method : (i) š‘‘2š‘¢ š‘‘š‘„2 = š‘¢ āˆ’ š‘„2 with conditions š‘¢ 0 = 0, š‘¢ 0 = 0 Graph lineā€”R1 (ii) š‘‘2š‘£ š‘‘š‘„2 = š‘£2 with conditions š‘£ 0 = 0, š‘£ 0 = 1.0 Graph lineā€”R2 (iii) š‘‘2š‘¢ š‘‘š‘„2 = š‘¢ āˆ’ š‘„ with conditions š‘¢ 0 = 0.0, š‘¢ 0 = 0.0 Graph lineā€”R3 (iv) š‘‘2š‘£ š‘‘š‘„2 = š‘£ with conditions š‘£ 0 = 0, š‘£ 0 = 1.0 Graph lineā€”R4 (v) š‘‘2š‘¢ š‘‘š‘„2 = š‘¢ āˆ’ š‘„2 with conditions š‘¢ 0 = 0.0, š‘¢ 0 = 1.0 Graph lineā€”R5 (vi) š‘‘2š‘£ š‘‘š‘„2 = š‘£2 with conditions š‘£ 0 = 1.0, š‘£ 0 = 0.0 Graph lineā€”R6 (vii) š‘‘2š‘¢ š‘‘š‘„2 = š‘¢š‘’š‘„ āˆ’ š‘„2 with conditions š‘¢ 0 = 0.0, š‘¢ 0 = 1.0 Graph lineā€”R7 (viii) š‘‘2š‘£ š‘‘š‘„2 = š‘£2 + š‘’š‘„ with conditions š‘£ 0 = 0.0, š‘£ 0 = 1.0 Graph lineā€”R8
  • 15.
  • 16. I have solved boundary value problem of second order ordinary differential equations. My aim is to solve a linear differential equation with two boundary conditions. However, the method of solving a boundary value problem may not always gives a feasible solution and that to overcome the anomalies we would like to solve initial value problem by taking initial guess. The solution obtained these way we check through the given boundary condition, if not achieved we may change our guess and try to satisfy boundary condition. Since, with guess of initial condition we proceed to solve a boundary value problem and again guess arbitary, it attributed to be a shooting and we call it a shooting method. Another way, we may solve it as to use of Runge-Kutta method. Here, the theoretical discussion succeeded to the experimental observation as a computer programming and the graphical representation of the data. This project report implies that the solution of differential equation either linear or non-linear can be solved by numerical method for any elaborative solution. CONCLUSION
  • 17. FUTURE SCOPE Here, it is to be noted that we have only solved boundary value problem of first kind; though three kinds of possibilities may occur. A succeeding example/problem may be generated so as to solve same problems with remaining two cases and compared. This comparison also sought error analysis as well as stability analysis. Also, in some physical problem we may encounter non-linear ordinary differential equation with boundary conditions. Most of the physical phenomenon arises as known initial conditions and deserves its future course of action. In that mathematical model the present study may be recognized as the first step and the mathematical methods may upgraded as fourth/fifth order Runge-Kutta method. A challenging task may be attributed to the solution of non- linear ordinary simultaneous equations with the use of Runge-Kutta method and the investigation of accuracy.
  • 18. Atkinson, K. E., An Introduction to Numerical Analysis, John Wiley and Sons, 1978. C. F. Gerald and P. O. Wheatly (2014) Applied Numerical Analysis, Addison- Wesley M. K. Jain, S. R. K. Iyengar and R. K. Jain (2016), Numerical Methods for Scientific and Engineering Computation, New- Age International Publication M. Pal (2008) Numerical Analysis for Scientist and Engineers, Narosa C.H. Edwards and D.E. Penny, Differential Equations and Boundary Value problems Computing and Modeling, Pearson Education India, 2005. Boyce and Diprima, Elementary Differential Equations and Boundary Value Problems, Wiley. Brian Bradie, A Friendly Introduction to Numerical Analysis, Pearson Education, India, 2007. E. V. Krishnamurty and S. K. Sen (1999), Numerical Algorithm, East-West Press Pvt. Ltd. New Delhi. REFERENCES