Civil Engineering (CE) Exam  >  Civil Engineering (CE) Notes  >  Engineering Mathematics  >  PPT: Solution of Ordinary Differential Equations

PPT: Solution of Ordinary Differential Equations | Engineering Mathematics - Civil Engineering (CE) PDF Download

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


Numerical Solution 
of Ordinary Differential Equation
•
A first order initial value problem of ODE may be written 
in the form
•
Example:
•
Numerical methods for ordinary differential equations 
calculate solution on the points, where h is 
the steps size 
0
) 0 ( ), , ( ) ( ' y y t y f t y = =
0 ) 0 ( , 1 ) ( '
1 ) 0 ( , 5 3 ) ( '
= + =
= + =
y ty t y
y y t y
h t t
n n
+ =
- 1
Page 2


Numerical Solution 
of Ordinary Differential Equation
•
A first order initial value problem of ODE may be written 
in the form
•
Example:
•
Numerical methods for ordinary differential equations 
calculate solution on the points, where h is 
the steps size 
0
) 0 ( ), , ( ) ( ' y y t y f t y = =
0 ) 0 ( , 1 ) ( '
1 ) 0 ( , 5 3 ) ( '
= + =
= + =
y ty t y
y y t y
h t t
n n
+ =
- 1
Numerical Methods for ODE
•
Euler Methods
–
Forward Euler Methods
–
Backward Euler Method
–
Modified Euler Method
•
Runge-Kutta Methods
–
Second Order
–
Third Order
–
Fourth Order
Page 3


Numerical Solution 
of Ordinary Differential Equation
•
A first order initial value problem of ODE may be written 
in the form
•
Example:
•
Numerical methods for ordinary differential equations 
calculate solution on the points, where h is 
the steps size 
0
) 0 ( ), , ( ) ( ' y y t y f t y = =
0 ) 0 ( , 1 ) ( '
1 ) 0 ( , 5 3 ) ( '
= + =
= + =
y ty t y
y y t y
h t t
n n
+ =
- 1
Numerical Methods for ODE
•
Euler Methods
–
Forward Euler Methods
–
Backward Euler Method
–
Modified Euler Method
•
Runge-Kutta Methods
–
Second Order
–
Third Order
–
Fourth Order
Forward Euler Method
•
Consider the forward difference approximation for first 
derivative 
•
Rewriting the above equation we have
•
So,       is recursively calculated as
n n
n n
n
t t h
h
y y
y - =
- ?
+
+
1
1
, '
) , ( ' , '
1 n n n n n n
t y f y hy y y = + =
+
n
y
) , (
) , (
) , ( '
1 1 1
1 1 1 2
0 0 0 0 0 1
- - - + =
+ =
+ = + =
n n n n
t y f h y y
t y f h y y
t y f h y hy y y
?
Page 4


Numerical Solution 
of Ordinary Differential Equation
•
A first order initial value problem of ODE may be written 
in the form
•
Example:
•
Numerical methods for ordinary differential equations 
calculate solution on the points, where h is 
the steps size 
0
) 0 ( ), , ( ) ( ' y y t y f t y = =
0 ) 0 ( , 1 ) ( '
1 ) 0 ( , 5 3 ) ( '
= + =
= + =
y ty t y
y y t y
h t t
n n
+ =
- 1
Numerical Methods for ODE
•
Euler Methods
–
Forward Euler Methods
–
Backward Euler Method
–
Modified Euler Method
•
Runge-Kutta Methods
–
Second Order
–
Third Order
–
Fourth Order
Forward Euler Method
•
Consider the forward difference approximation for first 
derivative 
•
Rewriting the above equation we have
•
So,       is recursively calculated as
n n
n n
n
t t h
h
y y
y - =
- ?
+
+
1
1
, '
) , ( ' , '
1 n n n n n n
t y f y hy y y = + =
+
n
y
) , (
) , (
) , ( '
1 1 1
1 1 1 2
0 0 0 0 0 1
- - - + =
+ =
+ = + =
n n n n
t y f h y y
t y f h y y
t y f h y hy y y
?
Example:
Example: solve
Solution:
Solution:
 
etc
25 . 0 , 1 0 , 1 ) 0 ( , 1 '
0
= = = = = + = h t y y ty y
1.25 1) 1 * 0.25(0 1                                     
) 1 (                                    
' , 25 . 0 for    
0 0 0
0 0 1 1
= + + =
+ + =
+ = =
y t h y
hy y y t
1.5781 1) 1.25 * 0.25(0.25 1.25                                      
) 1 (                                     
'  , 5 . 0 for    
1 1 1
1 1 2 2
= + + =
+ + =
+ = =
y t h y
hy y y t
1 ) 0 ( , 0 for    
0 0
= = = y y t
Page 5


Numerical Solution 
of Ordinary Differential Equation
•
A first order initial value problem of ODE may be written 
in the form
•
Example:
•
Numerical methods for ordinary differential equations 
calculate solution on the points, where h is 
the steps size 
0
) 0 ( ), , ( ) ( ' y y t y f t y = =
0 ) 0 ( , 1 ) ( '
1 ) 0 ( , 5 3 ) ( '
= + =
= + =
y ty t y
y y t y
h t t
n n
+ =
- 1
Numerical Methods for ODE
•
Euler Methods
–
Forward Euler Methods
–
Backward Euler Method
–
Modified Euler Method
•
Runge-Kutta Methods
–
Second Order
–
Third Order
–
Fourth Order
Forward Euler Method
•
Consider the forward difference approximation for first 
derivative 
•
Rewriting the above equation we have
•
So,       is recursively calculated as
n n
n n
n
t t h
h
y y
y - =
- ?
+
+
1
1
, '
) , ( ' , '
1 n n n n n n
t y f y hy y y = + =
+
n
y
) , (
) , (
) , ( '
1 1 1
1 1 1 2
0 0 0 0 0 1
- - - + =
+ =
+ = + =
n n n n
t y f h y y
t y f h y y
t y f h y hy y y
?
Example:
Example: solve
Solution:
Solution:
 
etc
25 . 0 , 1 0 , 1 ) 0 ( , 1 '
0
= = = = = + = h t y y ty y
1.25 1) 1 * 0.25(0 1                                     
) 1 (                                    
' , 25 . 0 for    
0 0 0
0 0 1 1
= + + =
+ + =
+ = =
y t h y
hy y y t
1.5781 1) 1.25 * 0.25(0.25 1.25                                      
) 1 (                                     
'  , 5 . 0 for    
1 1 1
1 1 2 2
= + + =
+ + =
+ = =
y t h y
hy y y t
1 ) 0 ( , 0 for    
0 0
= = = y y t
Graph the solution
Read More
65 videos|120 docs|94 tests

Top Courses for Civil Engineering (CE)

FAQs on PPT: Solution of Ordinary Differential Equations - Engineering Mathematics - Civil Engineering (CE)

1. What are ordinary differential equations?
Ans. Ordinary differential equations (ODEs) are mathematical equations that describe the relationship between a function and its derivatives in one or more independent variables. They involve ordinary derivatives, as opposed to partial derivatives, and are widely used in various scientific and engineering fields to model dynamic systems.
2. How are ordinary differential equations solved?
Ans. The solution of ordinary differential equations can be obtained through various methods, including analytical and numerical techniques. Analytical methods involve finding explicit formulas for the solutions, while numerical methods use algorithms to approximate the solutions. Common analytical methods include separation of variables, integrating factors, and power series solutions, while numerical methods include Euler's method, Runge-Kutta methods, and finite difference methods.
3. What is the importance of solving ordinary differential equations?
Ans. Solving ordinary differential equations is crucial in understanding and predicting the behavior of dynamic systems in various fields. They provide insights into the evolution of physical, biological, and engineering systems over time. By solving these equations, we can make predictions, optimize system performance, and derive valuable insights for decision-making and problem-solving.
4. What are some real-life applications of ordinary differential equations?
Ans. Ordinary differential equations have numerous real-life applications. They are used to model population dynamics, fluid flow, heat transfer, electrical circuits, chemical reactions, and many other phenomena. For example, they can be used to predict the growth of a population, analyze the flow of blood in arteries, determine the temperature distribution in a cooling system, or optimize the performance of control systems.
5. What are the prerequisites for understanding and solving ordinary differential equations?
Ans. To effectively understand and solve ordinary differential equations, it is important to have a strong foundation in calculus, including knowledge of differentiation and integration. Knowledge of linear algebra, particularly matrix operations and eigenvalues, is also helpful for more advanced methods. Additionally, familiarity with basic physics and engineering concepts can enhance the understanding and application of ordinary differential equations in practical scenarios.
65 videos|120 docs|94 tests
Download as PDF
Explore Courses for Civil Engineering (CE) exam

Top Courses for Civil Engineering (CE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

PPT: Solution of Ordinary Differential Equations | Engineering Mathematics - Civil Engineering (CE)

,

PPT: Solution of Ordinary Differential Equations | Engineering Mathematics - Civil Engineering (CE)

,

shortcuts and tricks

,

Summary

,

Important questions

,

Exam

,

video lectures

,

past year papers

,

pdf

,

Semester Notes

,

MCQs

,

ppt

,

Sample Paper

,

mock tests for examination

,

study material

,

Objective type Questions

,

Viva Questions

,

Free

,

Previous Year Questions with Solutions

,

PPT: Solution of Ordinary Differential Equations | Engineering Mathematics - Civil Engineering (CE)

,

practice quizzes

,

Extra Questions

;