Ordinary Differential Equations - Numerical Methods - Lecture Slides, Slides of Mathematical Methods for Numerical Analysis and Optimization

The main points are: Ordinary Differential Equations, Electrical Circuits, Heat Transfer, First Order Differential Equation, Analytical Solution, Closed Form Solution, Independent Variable, Boundary Conditions, Initial Conditions

Typology: Slides

2012/2013

Uploaded on 04/17/2013

pankarithi
pankarithi 🇮🇳

4.6

(5)

59 documents

1 / 78

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Ordinary Differential Equations
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e

Partial preview of the text

Download Ordinary Differential Equations - Numerical Methods - Lecture Slides and more Slides Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Ordinary Differential Equations

Ordinary Differential Equations

  • A differential equation defines a relationship

between an unknown function and one or

more of its derivatives

  • Physical problems using differential equations
    • electrical circuits
    • heat transfer
    • motion

Ordinary Differential Equations

• A second order differential equation would

have the form:

d y dx

f x y

dy dx

2 2 ^

 ^

 

, ,

does not necessarily have to include all of these variables

Ordinary Differential Equations

  • An ordinary differential equation is one

with a single independent variable.

  • Thus, the previous two equations are

ordinary differential equations

  • The following is not:

dy dx

f x x y 1

 1 , 2 ,

Ordinary Differential Equations

  • An ordinary differential equation of order n

requires that n conditions be specified.

  • Boundary conditions
  • Initial conditions

Ordinary Differential Equations

  • An ordinary differential equation of order n

requires that n conditions be specified.

  • Boundary conditions
  • Initial conditions

consider this beam where the deflection is zero at the boundaries x= 0 and x = L These are boundary conditions

Ordinary Differential Equations

  • At best, only a few differential equations can

be solved analytically in a closed form.

  • Solutions of most practical engineering

problems involving differential equations

require the use of numerical methods.

Scope of Lectures on ODE

  • One Step Methods
    • Euler’s Method
    • Heun’s Method
    • Improved Polygon
    • Runge Kutta
    • Systems of ODE
  • Adaptive step size control

Specific Study Objectives

  • Understand the visual representation of Euler’s,
Heun’s and the improved polygon methods.
  • Understand the difference between local and
global truncation errors
  • Know the general form of the Runge-Kutta
methods.
  • Understand the derivation of the second-order RK
method and how it relates to the Taylor series
expansion.

Specific Study Objectives

  • Realize that there are an infinite number of
possible versions for second- and higher-order RK
methods
  • Know how to apply any of the RK methods to
systems of equations
  • Understand the difference between initial value
and boundary value problems

y

x C

for y

C

then C for y

C

and C

 

 

 

 

4 3 0 1

1

4 0 3 1 0 2

2

4 0 3 2

3

3

3

What we see are different values of C for the two different initial conditions.

The resulting equations are:

y

x

y x

 

 

4 3

1

4 3

2

3

3

y

x

y(0)=

y(0)=

y(0)=

y(0)=

Euler’s Method

  • The first derivative provides a direct estimate

of the slope at xi

  • The equation is applied iteratively, or one step

at a time, over small distance in order to

reduce the error

  • Hence this is often referred to as Euler’s One-

Step Method

EXAMPLE

2 4 x dx

dy

For the initial condition y(1)=1, determine
y for h = 0.1 analytically and usingEuler’s
method given: