Dr. Jie Zou PHY 33201 Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (I) 1 1 Besides the main textbook, also see Ref.: “Applied.

Slides:



Advertisements
Similar presentations
Ordinary Differential Equations
Advertisements

Ordinary Differential Equations
Numerical Integration Lecture (II)1
PART 7 Ordinary Differential Equations ODEs
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Ordinary Differential Equations Equations which are.
Mech300 Numerical Methods, Hong Kong University of Science and Technology. 1 Part Seven Ordinary Differential Equations.
Solution of Simultaneous Linear Algebraic Equations: Lecture (I)
11 September 2007 KKKQ 3013 PENGIRAAN BERANGKA Week 10 – Ordinary Differential Equations 11 September am – 9.00 am.
Initial-Value Problems
Dr. Jie Zou PHY Chapter 3 Solution of Simultaneous Linear Algebraic Equations: Lecture (II) Note: Besides the main textbook, also see Ref: Applied.
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
8-1 Chapter 8 Differential Equations An equation that defines a relationship between an unknown function and one or more of its derivatives is referred.
Dr. Jie Zou PHY Chapter 3 Solution of Simultaneous Linear Algebraic Equations: Lecture (III) Note: Besides the main textbook, also see Ref: Applied.
Numerical Integration Lecture (I)1
Numerical Solutions of Ordinary Differential Equations
Dr. Jie Zou PHY Chapter 7 Numerical Differentiation: 1 Lecture (I) 1 Ref: “Applied Numerical Methods with MATLAB for Engineers and Scientists”, Steven.
Dr. Jie Zou PHY Welcome to PHY 3320 Computational Methods in Physics and Engineering.
Ordinary Differential Equations S.-Y. Leu Sept. 21,28, 2005.
Numerical Differentiation:1* Lecture (II)
Solve the differential equation. y'' - 10y' + 74y = 0
Solve the differential equation. y'' - 6y' + 45y = 0
1Chapter 2. 2 Example 3Chapter 2 4 EXAMPLE 5Chapter 2.
Differential Equations and Boundary Value Problems
Differential Equations
CISE301_Topic8L1KFUPM1 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1.
Numerical Solution of Ordinary Differential Equation
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Fin500J Topic 7Fall 2010 Olin Business School 1 Fin500J Mathematical Foundations in Finance Topic 7: Numerical Methods for Solving Ordinary Differential.
PART 7 Ordinary Differential Equations ODEs
1 Part 1: Ordinary Differential Equations Ch1: First-Order Differential Equations Ch2: Second-Order Differential Equations Ch3: The Laplace Transform Ch4:
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Fin500J Topic 6Fall 2010 Olin Business School 1 Fin500J: Mathematical Foundations in Finance Topic 6: Ordinary Differential Equations Philip H. Dybvig.
Ordinary Differential Equations
Computational Method in Chemical Engineering (TKK-2109)
Integration of 3-body encounter. Figure taken from
The general linear 2ed order PDE in two variables x, y. Chapter 2:Linear Second-Order Equations Sec 2.2,2.3,2.4:Canonical Form Canonical Form.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
5/30/ Runge 4 th Order Method Chemical Engineering Majors Authors: Autar Kaw, Charlie Barker
11/17/ Shooting Method Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
The elements of higher mathematics Differential Equations
Numerical Solutions of ODE
Ch 1.3: Classification of Differential Equations
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
Please remember: When you me, do it to Please type “numerical-15” at the beginning of the subject line Do not reply to my gmail,
1/16/ Runge 4 th Order Method Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
1/19/ Runge 4 th Order Method Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
Chapter 5. Ordinary Differential Equation
1 Chapter 1 Introduction to Differential Equations 1.1 Introduction The mathematical formulation problems in engineering and science usually leads to equations.
Dr. Mujahed AlDhaifallah ( Term 342)
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Ordinary Differential Equations
2/28/ Runge 4 th Order Method Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
Boyce/DiPrima 9 th ed, Ch1.3: Classification of Differential Equations Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Dr. Mubashir Alam King Saud University. Outline Ordinary Differential Equations (ODE) ODE: An Introduction (8.1) ODE Solution: Euler’s Method (8.2) ODE.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
Introduction to Differential Equations
DIFFERENTIAL EQUATIONS
Introduction to Differential Equations
Ordinary Differential Equations
525602:Advanced Numerical Methods for ME
Ch 1.3: Classification of Differential Equations
Ch 1.3: Classification of Differential Equations
Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
Electrical Engineering Majors Authors: Autar Kaw, Charlie Barker
Numerical Computation and Optimization
Chemical Engineering Majors Authors: Autar Kaw, Charlie Barker
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L1 KFUPM.
Presentation transcript:

Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (I) 1 1 Besides the main textbook, also see Ref.: “Applied Numerical Methods with MATLAB for Engineers and Scientists”, Steven Chapra, 2nd ed., Ch. 20, McGraw Hill, 2008.

Dr. Jie Zou PHY Outline Introduction: Some definitions Engineering and Scientific Applications One-step Runge-Kutta (RK) Methods (1) Euler’s Method The method (algorithm) Error analysis (next lecture) Stability (next lecture)

Dr. Jie Zou PHY Introduction: Some definitions Differential equation: An equation involving the derivatives or differentials of the dependent variable. Ordinary differential equation: A differential equation involving only one independent variable. Example: For the bungee jumper, Partial differential equation: A differential equation involving two or more independent variables (with partial derivatives). Order of a differential equation: The order of the highest derivative in the equation. Example: For an unforced mass-spring system with damping-a second-order equation:

4 Introduction: Some definitions (cont.) For an nth-order differential equation, n conditions are required to obtain a unique solution. Initial-value problem: All conditions are specified at the same value of the independent variable (e.g., at x or t = 0). Example: For the bungee jumper, Boundary-value problem: Conditions are specified at different values of the independent variable. Example: Particle in an infinite square well Initial Condition Fig. PT6.3 (Ref. by Chapra): Solutions for dy/dx = -2x x 2 – 20x with different constants of integration, C. Boundary Conditions

Dr. Jie Zou PHY Engineering and scientific applications Fig. PT6.1 (Ref. by Chapra): The sequence of events in the development and solution of ODEs for engineering and science.

6 Euler’s method Let’s look at the Bungee-Jumper’s example: Solve an ODE-initial-value problem (1) Step 1: Finite-difference approximation for dv/dt (2) Step 2: Substitute Eq. (2) in Eq. (1) (3) Step 3: Notice that dv/dt at t i = g- c d v(t i ) 2 /m, (3) becomes Euler’s method (a one-step method) Fig. 1.4 (Ref. by Chapra): Numerical solution by Euler’s method.

Dr. Jie Zou PHY Another look at Euler’s method Solving ODE: dy/dt = f(t,y) All one-step methods (Runge-Kutta methods) have the general form:  : an increment function for extrapolating from an old value y i to a new value y i+1. One-step methods: use information from one pervious point i to extrapolate to a new value. h: Step size = t i+1 – t i. Euler’s method:  = f(t i,y i ), the 1 st derivate of y at t i y i+1 = y i + f(t i,y i )h Fig (Ref. by Chapra): Euler’s method

Dr. Jie Zou PHY Example: Euler’s method Example 20.1 (Ref.): Use Euler’s method to integrate y’ = 4e 0.8t – 0.5y from t = 0 to t = 4 with a step size of 1. The initial condition at t = 0 is y = 2. Note that the exact solution can be determined analytically as y = (4/1.3)(e 0.8t – e -0.5t ) + 2e -0.5t

Dr. Jie Zou PHY Results ty true y Euler |  t | (%) Fig (Ref. by Chapra) Table 20.1 (Ref. by Chapra)