Differential Equations and Boundary Value Problems

Slides:



Advertisements
Similar presentations
Ordinary Differential Equations
Advertisements

Chapter 6 Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L8&9 KFUPM.
Ordinary Differential Equations
By S Ziaei-Rad Mechanical Engineering Department, IUT.
Lecture 18 - Numerical Differentiation
PART 7 Ordinary Differential Equations ODEs
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (I) 1 1 Besides the main textbook, also see Ref.: “Applied.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Ordinary Differential Equations Equations which are.
A second order ordinary differential equation has the general form
Curve-Fitting Interpolation
Ch 3.3: Complex Roots of Characteristic Equation Recall our discussion of the equation where a, b and c are constants. Assuming an exponential soln leads.
Part 6 Chapter 22 Boundary-Value Problems PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
Mech300 Numerical Methods, Hong Kong University of Science and Technology. 1 Part Seven Ordinary Differential Equations.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Curve-Fitting Polynomial Interpolation
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 5.4: Euler Equations; Regular Singular Points
Numerical Solutions of Ordinary Differential Equations
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Ordinary Differential Equations Final Review Shurong Sun University of Jinan Semester 1,
Ordinary Differential Equations S.-Y. Leu Sept. 21,28, 2005.
Chapter 6 Numerical Interpolation
CISE301_Topic8L1KFUPM1 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1.
PART 7 Ordinary Differential Equations ODEs
Boyce/DiPrima 9 th ed, Ch 3.1: 2 nd Order Linear Homogeneous Equations-Constant Coefficients Elementary Differential Equations and Boundary Value Problems,
Today’s class Boundary Value Problems Eigenvalue Problems
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ORDINARY DIFFERENTIAL EQUATION (ODE) LAPLACE TRANSFORM.
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.
A PPLIED M ECHANICS Lecture 09 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Ordinary Differential Equations
Computational Method in Chemical Engineering (TKK-2109)
Integration of 3-body encounter. Figure taken from
Boundary-Value Problems Boundary-value problems are those where conditions are not known at a single point but rather are given at different values of.
Numerical Methods for Solving ODEs Euler Method. Ordinary Differential Equations  A differential equation is an equation in which includes derivatives.
The elements of higher mathematics Differential Equations
Boundary Value Problems l Up to this point we have solved differential equations that have all of their initial conditions specified. l There is another.
Engineering Analysis – Computational Fluid Dynamics –
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Numerical Analysis – Differential Equation
Ch 3.4: Complex Roots of Characteristic Equation Recall our discussion of the equation where a, b and c are constants. Assuming an exponential soln leads.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 271 Boundary-Value.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 27.
Math 3120 Differential Equations with Boundary Value Problems
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
Section 1.1 Basic Definitions and Terminology. DIFFERENTIAL EQUATIONS Definition: A differential equation (DE) is an equation containing the derivatives.
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.
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
Interpolation - Introduction
Ordinary Differential Equations
Engineering Problem Solution
Part 7 - Chapter 25.
Basic Definitions and Terminology
Advanced Engineering Mathematics 6th Edition, Concise Edition
CHAPTER 3 NUMERICAL METHODS.
Ordinary Differential Equations
A second order ordinary differential equation has the general form
CHE 391 T. F. Edgar Spring 2012.
525602:Advanced Numerical Methods for ME
Class Notes 18: Numerical Methods (1/2)
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Chapter 27.
Part 7 - Chapter 25.
Numerical Analysis Lecture 37.
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L1 KFUPM.
Presentation transcript:

Differential Equations and Boundary Value Problems

Ordinary Differential Equations To solve an RL circuit, we apply KVL around the loop and obtain a differential equation: Differential Equation has an independent variable i and the derivative of the independent variable. i- dependent variable t- independent variable

Ordinary vs. Partial Differential Equations ordinary differential equation (or ODE) has one independent variable. A partial differential equation (or PDE) involves two or more independent variables. Differential equations are also classified as to their order. A first order equation includes a first derivative as its highest derivative. A second order equation includes a second derivative. Higher order equations can be reduced to a system of first order equations, by redefining a variable.

Engineering Problem Solution Physical Laws (Faraday’s, Ohm’s, KVL) -> Differential Equation -> Numerical or Analytical Solution

Figure PT7_03.jpg

Figure PT7_04.jpg

Runga-Kutta Methods solving ordinary differential equations of the form

Euler’s Method The first derivative provides a direct estimate of the slope at xi where f(xi,yi) is the differential equation evaluated at xi and yi. This estimate can be substituted into the equation: A new value of y is predicted using the slope to extrapolate linearly over the step size h.

Figure 25.3

Figure 25.4

Heun’s Method/ One method to improve the estimate of the slope involves the determination of two derivatives for the interval: At the initial point At the end point The two derivatives are then averaged to obtain an improved estimate of the slope for the entire interval.

The Midpoint (or Improved Polygon) Method/ Uses Euler’s method t predict a value of y at the midpoint of the interval:

Figure 25.12

Once n is chosen, values of a’s, p’s, and q’s are evaluated by setting general equation equal to terms in a Taylor series expansion.

Values of a1, a2, p1, and q11 are evaluated by setting the second order equation to Taylor series expansion to the second order term. Three equations to evaluate four unknowns constants are derived. A value is assumed for one of the unknowns to solve for the other three.

Three of the most commonly used methods are: Because we can choose an infinite number of values for a2, there are an infinite number of second-order RK methods. Every version would yield exactly the same results if the solution to ODE were quadratic, linear, or a constant. However, they yield different results if the solution is more complicated (typically the case). Three of the most commonly used methods are: Huen Method with a Single Corrector (a2=1/2) The Midpoint Method (a2=1) Raltson’s Method (a2=2/3)

Figure 25.14

Boundary-Value and Eigenvalue Problems An ODE is accompanied by auxiliary conditions. These conditions are used to evaluate the integral that result during the solution of the equation. An nth order equation requires n conditions. If all conditions are specified at the same value of the independent variable, then we have an initial-value problem. If the conditions are specified at different values of the independent variable, usually at extreme points or boundaries of a system, then we have a boundary-value problem.

Figure 27.1

General Methods for Boundary-value Problems Figure 27.2

(Heat transfer coefficient) Boundary Conditions Analytical Solution:

The Shooting Method/ Converts the boundary value problem to initial-value problem. A trial-and-error approach is then implemented to solve the initial value approach. For example, the 2nd order equation can be expressed as two first order ODEs: An initial value is guessed, say z(0)=10. The solution is then obtained by integrating the two 1st order ODEs simultaneously.

Using a 4th order RK method with a step size of 2: This differs from T(10)=200. Therefore a new guess is made, z(0)=20 and the computation is performed again. z(0)=20 T(10)=285.8980 Since the two sets of points, (z, T)1 and (z, T)2, are linearly related, a linear interpolation formula is used to compute the value of z(0) as 12.6907 to determine the correct solution.

Figure 27.3

Nonlinear Two-Point Problems. For a nonlinear problem a better approach involves recasting it as a roots problem. Driving this new function, g(z0), to zero provides the solution.

Figure 27.4

Finite Differences Methods. The most common alternatives to the shooting method. Finite differences are substituted for the derivatives in the original equation. Finite differences equation applies for each of the interior nodes. The first and last interior nodes, Ti-1 and Ti+1, respectively, are specified by the boundary conditions. Thus, a linear equation transformed into a set of simultaneous algebraic equations can be solved efficiently.

Eigenvalue Problems Special class of boundary-value problems that are common in engineering involving vibrations, elasticity, and other oscillating systems. Eigenvalue problems are of the general form:

l is the unknown parameter called the eigenvalue or characteristic value. A solution {X} for such a system is referred to as an eigenvector. The determinant of the matrix [[A]-l[I]] must equal to zero for nontrivial solutions to be possible. Expanding the determinant yields a polynomial in l. The roots of this polynomial are the solutions to the eigen values.