Chapter 6 Differential Equations

Slides:



Advertisements
Similar presentations
Example Project and Numerical Integration Computational Neuroscience 03 Lecture 11.
Advertisements

Formal Computational Skills
Ordinary Differential Equations
MATLAB EXAMPLES Initial-value problems
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L8&9 KFUPM.
HAMPIRAN NUMERIK SOLUSI PERSAMAAN DIFERENSIAL (lanjutan) Pertemuan 12 Matakuliah: METODE NUMERIK I Tahun: 2008.
Numeriska beräkningar i Naturvetenskap och Teknik 1. Numerical differentiation and quadrature Discrete differentiation and integration Trapezoidal and.
Ordinary Differential Equations
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.
Computational Biology, Part 17 Biochemical Kinetics I Robert F. Murphy Copyright  1996, All rights reserved.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
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.
Constrained Fitting Calculation the rate constants for a consecutive reaction with known spectrum of the reactant A = (A A + A B + A C ) + R = C E T =
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.
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.
Ch 2.1: Linear Equations; Method of Integrating Factors
Numerical Solutions of Ordinary Differential Equations
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Differential Equations and Boundary Value Problems
Numerical Solution of Ordinary Differential Equation
Numerical solution of Differential and Integral Equations PSCi702 October 19, 2005.
CSE 330 : Numerical Methods Lecture 17: Solution of Ordinary Differential Equations (a) Euler’s Method (b) Runge-Kutta Method Dr. S. M. Lutful Kabir Visiting.
PART 7 Ordinary Differential Equations ODEs
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
Section 6.1: Euler’s Method. Local Linearity and Differential Equations Slope at (2,0): Tangent line at (2,0): Not a good approximation. Consider smaller.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Taylor Series.
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 15 Biochemical Kinetics I Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
Computational Method in Chemical Engineering (TKK-2109)
Computer Animation Algorithms and Techniques
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
Numerical Methods for Solving ODEs Euler Method. Ordinary Differential Equations  A differential equation is an equation in which includes derivatives.
Numerical Solutions of ODE
MAT 1228 Series and Differential Equations Section 3.7 Nonlinear Equations
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Numerical Analysis – Differential Equation
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,
Ch 2.1: Linear Equations; Method of Integrating Factors A linear first order ODE has the general form where f is linear in y. Examples include equations.
Dr. Mujahed AlDhaifallah ( Term 342)
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Chapter 21 Exact Differential Equation Chapter 2 Exact Differential Equation.
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.
Part 7 - Chapter 25.
Ordinary Differential Equations
525602:Advanced Numerical Methods for ME
Class Notes 18: Numerical Methods (1/2)
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
Differential Equations
Part 7 - Chapter 25.
Numerical Analysis Lecture 37.
Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L2.
5.3 Higher-Order Taylor Methods
Numerical Analysis Lecture 38.
Numerical solution of first-order ordinary differential equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L3 KFUPM.
Ch5 Initial-Value Problems for ODE
Numerical Computation and Optimization
Differential equations
Numerical Analysis Lecture 36.
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L7 KFUPM.
Numerical solution of first-order ordinary differential equations 1. First order Runge-Kutta method (Euler’s method) Let’s start with the Taylor series.
Presentation transcript:

Chapter 6 Differential Equations Chem 302 - Math 252 Chapter 6 Differential Equations

Differential Equations Many problems in physical chemistry (eg. kinetics, dynamics, theoretical chemistry) require solution to a differential equation Many can not be solved analytically Deal only with first order ODE Higher order equations can be reduced to a system of 1st order DE

Differential Equations Simplest form Can integrate analytically or numerically (using techniques of Chapter 4)

Differential Equations General case Many simpler problems can be solved analytically Many involve ex However, in chemistry (physics & engineering) many problems have to be solved numerically (or approximately)

Picard Method Can not integrate exactly because integrand involves y Approximate iteratively by using approximations for y Continue to iterate until a desire level of accuracy is obtained in y Often gives a power series solution

Picard Method – Example Continue to iterate until a desire level of accuracy is obtained in y

Picard Method – Example 2

Euler Method Assume linear between 2 consecutive points Between initial point and 1st (calculated) point User selects Dx Need to be careful - too big or too small can cause problems

Euler Method – Example

Taylor Method Based on Taylor expansion Euler method is Taylor method of order 1 Use chain rule

Taylor Method – Example

Improved Euler (Heun’s) Method Euler Method Use constant derivative between points i & i+1 calculated at xi Better to use average derivative across the interval yi+1 is not known Predict – Correct (can repeat)

Improved Euler Method – Example

Modified Euler Method Modified Euler Method Use derivative halfway between points i & i+1

Modified Euler Method – Example

Runge-Kutta Methods Improved and Modified Euler Methods are special cases 2nd order Runge-Kutta 4th order Runge-Kutta Runge Kutta Runge-Kutta-Gill

Runge Methods

Kutta Methods

Runge-Kutta-Gill Methods

Systems of Equations All the previous methods can be applied to systems of differential equations Only illustrate the Runge method

Systems of Equations – Example 1

Systems of Equations – Example 2

Systems of Equations – Example 3

Systems of Equations – Example 4

Systems of Equations – Example 5