Computational Methods for Design Lecture 3 – Elementary Differential Equations John A. Burns C enter for O ptimal D esign A nd C ontrol I nterdisciplinary.

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Boyce/DiPrima 9th ed, Ch 2.4: Differences Between Linear and Nonlinear Equations Elementary Differential Equations and Boundary Value Problems, 9th edition,
Partial Differential Equations
Numerical Solutions of Differential Equations Euler’s Method.
Technique of nondimensionalization Aim: –To remove physical dimensions –To reduce the number of parameters –To balance or distinguish different terms in.
MAT 594CM S10Fundamentals of Spatial ComputingAngus Forbes Week 2 : Dynamics & Numerical Methods Goal : To write a simple physics simulation Topics: Intro.
Ch 2.4: Differences Between Linear and Nonlinear Equations
Analytic Continuation: Let f 1 and f 2 be complex analytic functions defined on D 1 and D 2, respectively, with D 1 contained in D 2. If on D 1, then f.
CVEN Computer Applications in Engineering and Construction Dr. Jun Zhang.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 2 Mathematical Modeling and Engineering Problem Solving.
ENGG2013 Unit 22 Modeling by Differential Equations Apr, 2011.
Lecture 8 Topics Fourier Transforms –As the limit of Fourier Series –Spectra –Convergence of Fourier Transforms –Fourier Transform: Synthesis equation.
Announcements Topics: Work On:
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Differential Equations
MATH 175: NUMERICAL ANALYSIS II CHAPTER 3: Differential Equations Lecturer: Jomar Fajardo Rabajante 2nd Sem AY IMSP, UPLB.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
A Numerical Technique for Building a Solution to a DE or system of DE’s.
Scientific Computing Partial Differential Equations Explicit Solution of Wave Equation.
A Numerical Technique for Building a Solution to a DE or system of DE’s.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Ch 5.3: Series Solutions Near an Ordinary Point, Part II A function p is analytic at x 0 if it has a Taylor series expansion that converges to p in some.
Computational Methods for Design Lecture 2 – Some “ Simple ” Applications John A. Burns C enter for O ptimal D esign A nd C ontrol I nterdisciplinary C.
ME451 Kinematics and Dynamics of Machine Systems
My First Problem of the Day:. Point-Slope Equation of a Line: Linearization of f at x = a: or.
Romantic Relationships Background –Life would be very dull without the excitement (and sometimes pain) of romance! –Love affairs can be modelled by differential.
Computational Methods for Design Lecture 4 – Introduction to Sensitivities John A. Burns C enter for O ptimal D esign A nd C ontrol I nterdisciplinary.
Math 3120 Differential Equations with Boundary Value Problems
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
CSE 3802 / ECE 3431 Numerical Methods in Scientific Computation
Numerical Methods for Solving ODEs Euler Method. Ordinary Differential Equations  A differential equation is an equation in which includes derivatives.
+ Numerical Integration Techniques A Brief Introduction By Kai Zhao January, 2011.
Modeling motion subject to drag forces PHYS 361 Spring, 2011.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 12.
Basic Differentiation Rules
Chapter 24 Sturm-Liouville problem Speaker: Lung-Sheng Chien Reference: [1] Veerle Ledoux, Study of Special Algorithms for solving Sturm-Liouville and.
Differential Equations Chapter 1. A differential equation in x and y is an equation that involves x, y, and derivatives of y. A mathematical model often.
MTH 253 Calculus (Other Topics)
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
Only One Word for Review Review Engineering Differential Equations The Second Test.
Dr. Mujahed AlDhaifallah ( Term 342)
Differential equation hamzah asyrani sulaiman at
CVEN Computer Applications in Engineering and Construction.
1/14  5.2 Euler’s Method Compute the approximations of y(t) at a set of ( usually equally-spaced ) mesh points a = t 0 < t 1
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
MTH 253 Calculus (Other Topics) Chapter 9 – Mathematical Modeling with Differential Equations Section 9.4 – Second-Order Linear Homogeneous Differential.
Initial Value Problems A differential equation, together with values of the solution and its derivatives at a point x 0, is called an initial value problem.
Announcements Topics: -sections 6.4 (l’Hopital’s rule), 7.1 (differential equations), and 7.2 (antiderivatives) * Read these sections and study solved.
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
Ordinary differential equations - ODE An n-th order ordinary differential equation (ODE n ) is an equation where is a known function in n + 1 variables.
MA2213 Lecture 10 ODE. Topics Importance p Introduction to the theory p Numerical methods Forward Euler p. 383 Richardson’s extrapolation.
Differential Equations
Class Notes 18: Numerical Methods (1/2)
Hyperbolic Equations IVP: u(x,0) = f(x), - < x <  IBVP:
Differential Equations
Sec 21: Analysis of the Euler Method
10.4 Parametric Equations Parametric Equations of a Plane Curve
Numerical Solutions of Ordinary Differential Equations
The Elementary Theory of Initial-Value Problems
Numerical solution of first-order ordinary differential equations
MATH 175: Numerical Analysis II
Ch5 Initial-Value Problems for ODE
6th Lecture : Numerical Methods
Numerical solution of first-order ordinary differential equations 1. First order Runge-Kutta method (Euler’s method) Let’s start with the Taylor series.
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

Computational Methods for Design Lecture 3 – Elementary Differential Equations John A. Burns C enter for O ptimal D esign A nd C ontrol I nterdisciplinary C enter for A pplied M athematics Virginia Polytechnic Institute and State University Blacksburg, Virginia A Short Course in Applied Mathematics 2 February 2004 – 7 February 2004 N∞M∞T Series Two Course Canisius College, Buffalo, NY

Today’s Topics Lecture 3 – Elementary Differential Equations  A Review of the Basics  Equilibrium  Stability  Dependence on Parameters: Sensitivity  Numerical Methods

A Falling Object “Newton’s Second Law”. y(t) { { AIR RESISTANCE

Height: y(t)

Velocity: v(t)=y’(t)

System of Differential Equations

State Space STATE SPACE

System of Differential Equations THE PHYSICS – BIOLOGY – CHEMISTRY IS FINDING SELECTION OF THE “ CORRECT STATE SPACE ” IS A COMBINATION OF PHYSICS – BIOLOGY – CHEMISTRY AND MATHEMATICS

Parameters IN REAL PROBLEMS THERE ARE PARAMETERS SOLUTIONS DEPEND ON THESE PARAMETERS WE WILL BE INTERESTED IN COMPUTING SENSITIVITIES WITH RESPECT TO THESE PARAMETERS MORE LATER

Logistics Equation LE

Analytical Solution K

Initial p 0 : 1 < p 0 < 20,000 K

Equilibrium States LE EQUILIBRIUM STATES ARE CONSTANT SOLUTIONS

Equilibrium States K 0 UNSTABLESTABLE

A Falling Object {. y(t) NO EQUILIBRIUM STATES

Terminal Velocity

A Falling Object

Systems of DEs MORE EQUATIONS

Epidemic Models  SIR Models (Kermak – McKendrick, 1927) l S usceptible – I nfected – R ecovered/Removed

Epidemic Models  SIR Models (Kermak – McKendrick, 1927) l S usceptible – I nfected – R ecovered/Removed

Systems of DEs

Initial Value Problems MOST OF THE TIME WE FORGET THE ARROW AND f CAN DEPEND ON TIME t AND PARAMETERS q

Basic Results A solution to the ordinary differential equation (Σ) is a differentiable function (Σ)(Σ) defined on a connected interval (a,b) such that x(t) satisfies (Σ) for all t  (a,b). TWO SOLUTIONS

Solutions

Initial Condition

Basic Theorems Theorem 1. Let f: R n ---> R n be a continuous function on a domain D  R n, and x 0  D. Then there exists at least one solution to the initial value problem (IVP). (IVP) TO GET UNIQUENESS WE NEED MORE

Basic Theorems Theorem 2. If there is an open rectangle  about (t 0, x 0 ) such that is continuous at all points (t, x)  , then there a unique solution to the initial value problem (IVP). x0x0 t0t0

SIR Model

ALL ENTRIES ARE CONTINUOUS FOR ALL Theorem 1. IS OK

A Falling Object NO PROBLEM SO FAR

A Falling Object AGAIN … CONTINUOUS FOR ALL Theorem 1. IS OK

Parameter Dependence FOR THE FALLING OBJECT …

Examples: n=m=1 CONTINUOUS EVERYWHERE UNIQUE SOLUTION CONTINUOUS WHEN UNIQUE SOLUTION

Logistic Equation

Numerical Methods FORWARD EULER (IVP) t0t0 x0x0

Explicit Euler t0t0 x0x0

t0t0 x0x0

Example 1

Explicit Euler h=.2 h=.01 h=.1

Example 2

h=.2 h=.1

Typical MATLAB m files Eeuler_1.m Eeuler_2.m

Simple Example

Simple Example 3 IF 10 1 PROBLEM IS FINITE PRECISION ARITHMETIC MESH REFINEMENT MAKES THE PROBLEM WORSE