Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapter 24 Boundary Value Problems.

Slides:



Advertisements
Similar presentations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 301 Finite.
Advertisements

Part 2 Chapter 6 Roots: Open Methods
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Four Trusses.
Part 5 Chapter 19 Numerical Differentiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
03_25 Osmosis Slide number: 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Protein molecule Water molecule.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 61.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Part Eight Partial Differential Equations.
Title Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 18 Image Slides.
Part 6 Chapter 22 Boundary-Value Problems PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
General Linear Least-Squares and Nonlinear Regression
Initial-Value Problems
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Martin Mendez UASLP Chapter 61 Unit II.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 181 Interpolation Chapter 18 Estimation of intermediate.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 4 Image Slides.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 181 Interpolation.
Copyright © The McGraw-Hill Companies, Inc
Title Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 16 Image Slides.
Title Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 17 Image Slides.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Mathematical Modeling and Engineering Problem solving.
Linear Simultaneous Equations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 81 Partial.
Matrix Mathematics in MATLAB and Excel
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 Image Slides.
Chapter 8 Traffic-Analysis Techniques. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 8-1.
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 6 Finding the Roots of Equations
Copyright (c) The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Chapter 4 Exponential and Logarithmic Functions.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 2.
Mark Dugopolski Elementary Algebra Edition 3 Chapter 7 Systems of Linear Equations and Inequalities Copyright © 2000 by the McGraw-Hill Companies, Inc.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Integration.
17.16 Synthesis of Thyroid Hormone (TH) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide number: 1.
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.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. ~ Ordinary Differential Equations ~ Stiffness and Multistep.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 261 Stiffness.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 8 - Chapter 29.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 31.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 16 Image Slides.
Working with Arrays in MATLAB
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3- Chapter 12 Iterative Methods.
Modelling & Simulation of Chemical Engineering Systems Department of Chemical Engineering King Saud University 501 هعم : تمثيل الأنظمة الهندسية على الحاسب.
Newton’s Method, Root Finding with MATLAB and Excel
Recap Cubic Spline Interpolation Multidimensional Interpolation Curve Fitting Linear Regression Polynomial Regression The Polyval Function The Interactive.
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 15 General Least Squares and Non- Linear.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Eight Live Load Forces: Influence Lines for Determinate.
Copyright (c) The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Chapter 1 Equations and Inequalities.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Three Statics of Structures Reactions.
Alexander-Sadiku Fundamentals of Electric Circuits
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Fifteen Approximate Analysis of Indeterminate Structures.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 7.
Chapter 13 Transportation Demand Analysis. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display
Copyright © 2014, The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright © 2014, The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 1 Equations and Inequalities Copyright ©2014 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 21 Numerical Differentiation.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Applied Numerical Methods
Differential Equations
Boundary-Value Problems
Chapter 3 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 27.
Applied Numerical Methods
Techniques of Integration
Presentation transcript:

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapter 24 Boundary Value Problems

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Review of Initial Value Problems The previous 2 chapters focused on solving initial value problems If you have –a first order differential equation you need a single initial value –System of n equation you need n initial values –An nth order differential equation you need n initial values … because you reformulate into a system of n equations 2

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Boundary Value Problems Instead of knowing the starting value of the function you know the value at some other point You need the same number of conditions –a first order differential equation you need a single boundary value –System of n equation you need n boundary values –An nth order differential equation you need n boundary values … because you reformulate into a system of n equations 3 They just aren’t the starting conditions

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Example 24.1 Temperature of a heated rod subject to convection 4

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Second Order Differential Equation Therefore you need two boundary conditions The two end temperatures are fixed – which are the conditions we need 5

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Approaches MATLAB offers two approaches –Symbolic Algebra –Numerical Solution – bvp4c 6

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 7 Initial Condition Boundary Condition at t=10

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. dsolve With dsolve there is no need to decompose the problem into a system of equations The boundary conditions can be –Initial conditions –Conditions at some other value of the independent variable –Values of the dependent variable –Values of derivatives of the dependent variable 8

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Numerical Approach Chapter 24 discusses a variety of numerical approaches –Shooting technique –Finite difference technique We will focus on the built-in bvp4c function which uses a finite difference approach 9

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. bvp4c This function requires 3 inputs –function handle to a function that evaluates the differential equations, just like we used in the odesolvers –Function handle to a function that evaluates the residual (the error) in the boundary condition approximations –A structure array representing the initial guess for the solution 10

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 11

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 12 This is our system of equations that represent the original second order equation

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 13 T is an array T(1) is the initial value of T T(2) is the initial value of dT/dx The trouble is… we don’t know T(2)

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 14

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 15 bvpinit returns a structure array of guesses for the initial values of x and y (In our case x, T and dT/dx)

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 16