Ordinary Differential Equations (ODEs) Differential equations are the ubiquitous, the lingua franca of the sciences; many different fields are linked by.

Slides:



Advertisements
Similar presentations
Differential Equations
Advertisements

Review of accuracy analysis Euler: Local error = O(h 2 ) Global error = O(h) Runge-Kutta Order 4: Local error = O(h 5 ) Global error = O(h 4 ) But there’s.
Integration Techniques
ODE jiangyushan. Pendulum As a example of a system that is nonlinear, consider the swinging pendulum shown above. When the mass of the pendulum is small.
Computational Methods in Physics PHYS 3437
Ordinary Differential Equations
1cs542g-term Notes  Notes for last part of Oct 11 and all of Oct 12 lecture online now  Another extra class this Friday 1-2pm.
1cs542g-term Notes  Even if you’re not registered (not handing in assignment 1) send me an to be added to a class list.
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.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 32 Ordinary Differential Equations.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 31 Ordinary Differential Equations.
Initial-Value Problems
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Chapter 16 Integration of Ordinary Differential Equations.
CISE301_Topic8L31 SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
Ordinary Differential Equations (ODEs)
Differential Equations and Boundary Value Problems
CISE301_Topic8L1KFUPM1 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
1 Chapter 6 Numerical Methods for Ordinary Differential Equations.
PART 7 Ordinary Differential Equations ODEs
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Numerical Integration Methods
Erin Catto Blizzard Entertainment Numerical Integration.
Chapter 17 Boundary Value Problems. Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Computational Biology, Part 17 Biochemical Kinetics III Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
Computational Method in Chemical Engineering (TKK-2109)
Dept. of Computer Science & Engineering, Korea Univ. Systems of ODEs (Ordinary Differential Equations) June 8, 2005 Sung-Min Kim, Ho-Kuen Shin, A-Yon Park.
Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.
Modelling & Simulation of Chemical Engineering Systems Department of Chemical Engineering King Saud University 501 هعم : تمثيل الأنظمة الهندسية على الحاسب.
Integration of 3-body encounter. Figure taken from
Review of MA3264 Exam matters –Time: 25 April 2011, Wednesday, PM Paper (1:00—3:00pm) –Venue: Cinnamon Chua TP Hall (U-Town) –Style: open book exam; bring.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. ~ Ordinary Differential Equations ~ Stiffness and Multistep.
Numerical Methods for Solving ODEs Euler Method. Ordinary Differential Equations  A differential equation is an equation in which includes derivatives.
Numerical Solutions of ODE
Large Timestep Issues Lecture 12 Alessandra Nardi Thanks to Prof. Sangiovanni, Prof. Newton, Prof. White, Deepak Ramaswamy, Michal Rewienski, and Karen.
Differential Equations Also known as Engineering Analysis or ENGIANA.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Numerical Analysis – Differential Equation
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Announcements Read Chapters 11 and 12 (sections 12.1 to 12.3)
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,
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems
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
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Game Technology Animation V Generate motion of objects using numerical simulation methods Physically Based Animation.
Ordinary Differential Equations
Sec 21: Generalizations of the Euler Method Consider a differential equation n = 10 estimate x = 0.5 n = 10 estimate x =50 Initial Value Problem Euler.
ACSL, POSTECH1 MATLAB 입문 CHAPTER 8 Numerical Calculus and Differential Equations.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
VEHICLE DYNAMICS SIMULATIONS USING NUMERICAL METHODS VIYAT JHAVERI.
CISE301_Topic8L71 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
MA2213 Lecture 10 ODE. Topics Importance p Introduction to the theory p Numerical methods Forward Euler p. 383 Richardson’s extrapolation.
Chapter 26.
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L3 KFUPM.
Presentation transcript:

Ordinary Differential Equations (ODEs) Differential equations are the ubiquitous, the lingua franca of the sciences; many different fields are linked by having similar differential equations ODEs have one independent variable; PDEs have more Examples: electrical circuits Newtonian mechanics chemical reactions population dynamics economics… and so on, ad infinitum

Example: RLC circuit

To illustrate: Population dynamics 1798 Malthusian catastrophe 1838 Verhulst, logistic growth Predator-prey systems, Volterra-Lotka

Population dynamics Malthus: Verhulst: Logistic growth  

Population dynamics Hudson Bay Company

Population dynamics V.Volterra, commercial fishing in the Adriatic

In the x 1 -x 2 plane

State space Produces a family of concentric closed curves as shown… How to compute? Integrate analytically!

Population dynamics self-limiting term  stable focus Delay  limit cycle

As functions of time

Do you believe this? Do hares eat lynx, Gilpin 1973 Do Hares Eat Lynx? Michael E. Gilpin The American Naturalist, Vol. 107, No. 957 (Sep. - Oct., 1973), pp Published by: The University of Chicago Press for The American Society of Naturalists Stable URL:

Putting equations in state-space form 

Traditional state space: Example: the (nonlinear) pendulum McMaster

Linear pendulum: small θ For simplicity, let g/l = 1 Circles!

Pendulum in the phase plane

Varieties of Behavior Stable focus Periodic Limit cycle

Varieties of Behavior Stable focus Periodic Limit cycle Chaos …Assignment

Numerical integration of ODEs Euler’s Method  simple-minded, basis of many others Predictor-corrector methods  can be useful Runge-Kutta (usually 4 th -order)  workhorse, good enough for our work, but not state-of-the-art

Criteria for evaluating Accuracy  use Taylor series, big-Oh, classical numerical analysis Efficiency  running time may be hard to predict, sometimes step size is adaptive Stability  some methods diverge on some problems

Euler Local error = O(h 2 ) Global accumulated) error = O(h) (Roughly: multiply by T/h )

Euler Local error = O(h 2 ) Global (accumulated) error = O(h) Euler step

Euler Local error = O(h 2 ) Global (accumulated) error = O(h) Taylor’s series with remainder Euler step

Second-order Runge-Kutta (midpoint method) Local error = O(h 3 ) Global (accumulated) error = O(h 2 )

Fourth-order Runge-Kutta Local error = O(h 5 ) Global (accumulated) error = O(h 4 )

Additional topics Stability, stiff systems Implicit methods Two-point boundary-value problems shooting methods relaxation methods