(A) Opening Problem Newton s Law of Cooling

Similar documents
Lesson 31 - Average and Instantaneous Rates of Change

Euler s Method (BC Only)

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker.

Euler s Method and Logistic Growth (BC Only)

Differential Equations Review

Solving ODEs Euler Method & RK2/4

Lesson 4 - Limits & Instantaneous Rates of Change

CHAPTER 7. An Introduction to Numerical Methods for. Linear and Nonlinear ODE s

Math 1120 Calculus Final Exam

Chapter 3 Acceleration

Ï ( ) Ì ÓÔ. Math 2413 FRsu11. Short Answer. 1. Complete the table and use the result to estimate the limit. lim x 3. x 2 16x+ 39

Chapter 3 Acceleration

AP Calculus AB. Course Overview. Course Outline and Pacing Guide

MA 102 Mathematics II Lecture Feb, 2015

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

MATH The Derivative as a Function - Section 3.2. The derivative of f is the function. f x h f x. f x lim

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved.

Systems of Linear ODEs

OBJECTIVE Find limits of functions, if they exist, using numerical or graphical methods.

Displacement, Velocity, and Acceleration AP style

Appendix A. Common Mathematical Operations in Chemistry

Analyzing Functions Maximum & Minimum Points Lesson 75

Learning Objectives for Math 165

Mathematics 132 Calculus for Physical and Life Sciences 2 Exam 3 Review Sheet April 15, 2008

Alg II Syllabus (First Semester)

Paper Reference. Paper Reference(s) 6665/01 Edexcel GCE Core Mathematics C3 Advanced. Friday 6 June 2008 Afternoon Time: 1 hour 30 minutes

Sec. 14.3: Partial Derivatives. All of the following are ways of representing the derivative. y dx

AB.Q103.NOTES: Chapter 2.4, 3.1, 3.2 LESSON 1. Discovering the derivative at x = a: Slopes of secants and tangents to a curve

Book 4. June 2013 June 2014 June Name :

QMI Lesson 19: Integration by Substitution, Definite Integral, and Area Under Curve

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS

Ordinary Differential Equations I

Inverse Kinematics. Mike Bailey.

Second Order ODEs. Second Order ODEs. In general second order ODEs contain terms involving y, dy But here only consider equations of the form

Math 131. The Derivative and the Tangent Line Problem Larson Section 2.1

Differential Equations

ENGR 213: Applied Ordinary Differential Equations

AP Calculus BC. Course Overview. Course Outline and Pacing Guide

(Refer Slide Time: 01:17)

Chapter 6: Messy Integrals

Project 1: Riemann Sums

3.8 Exponential Growth and Decay

First-Order Differential Equations

( ) be the particular solution to the differential equation passing through the point (2, 1). Write an

Unit #6 Basic Integration and Applications Homework Packet

Math 2373: Linear Algebra and Differential Equations

Set 3: Limits of functions:

AP CALCULUS BC 2009 SCORING GUIDELINES

Ordinary Differential Equations I

Paper Reference. Paper Reference(s) 6665/01 Edexcel GCE Core Mathematics C3 Advanced Level. Monday 12 June 2006 Afternoon Time: 1 hour 30 minutes

Lesson 09 Methods of integrating ordinary differential equations

Robotics. Islam S. M. Khalil. November 15, German University in Cairo

Lecture 1. Scott Pauls 1 3/28/07. Dartmouth College. Math 23, Spring Scott Pauls. Administrivia. Today s material.

Calculus Review Session. Brian Prest Duke University Nicholas School of the Environment August 18, 2017

Exam 3 MATH Calculus I

Numerical Optimization Algorithms

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

PARAMETRIC EQUATIONS AND POLAR COORDINATES

Traveling Harmonic Waves

VIDEO LINKS: a) b)

SYSTEMS OF NONLINEAR EQUATIONS

Science One Integral Calculus

Slopes, Derivatives, and Tangents. Matt Riley, Kyle Mitchell, Jacob Shaw, Patrick Lane

Chapter 3 Acceleration

Chapter 1: Introduction

Exam 4 SCORE. MA 114 Exam 4 Spring Section and/or TA:

MATHEMATICS AP Calculus (BC) Standard: Number, Number Sense and Operations

= π + sin π = π + 0 = π, so the object is moving at a speed of π feet per second after π seconds. (c) How far does it go in π seconds?

AP Calculus BC Fall Final Part IIa

Math Review and Lessons in Calculus

AP Calculus BC. Free-Response Questions

Mathematical Computing

AP Calculus Curriculum Guide Dunmore School District Dunmore, PA

C min = Δ V O 2 / Δ T a -- for values below the lower limit of thermal neutrality (T ll ) So: C min = ABS[( ) ml O 2 / (g*h) / (0-10) o C]

Exploring the Derivative (2.7, 2.8) Prelab: Review Figure 1 (p. 141), Figure 6 (p. 143), Example 7 (p. 147) and Equation 2 (p.

Exercise 4) Newton's law of cooling is a model for how objects are heated or cooled by the temperature of an ambient medium surrounding them.

Greenwich Public Schools Mathematics Curriculum Objectives. Calculus

Unit #16 : Differential Equations

Slope Fields, Differential Equations... and Maybe Euler s Method, Too

9.1 Solving Differential Equations

Final Exam Review Part I: Unit IV Material

We saw in Section 5.1 that a limit of the form. arises when we compute an area.

6x 2 8x + 5 ) = 12x 8. f (x) ) = d (12x 8) = 12

Math-2A Lesson 13-3 (Analyzing Functions, Systems of Equations and Inequalities) Which functions are symmetric about the y-axis?

1. How could you determine the average speed of an object whose motion is represented in the graphs above?

Mathematics Lecture. 6 Chapter. 4 APPLICATIONS OF DERIVATIVES. By Dr. Mohammed Ramidh

Computational Physics (6810): Session 8

HUDSONVILLE HIGH SCHOOL COURSE FRAMEWORK

5.1 Separable Differential Equations

Section 2.1 Differential Equation and Solutions

Parametric Equations and Polar Coordinates

Chapter 5: Quadratic Applications

Math 266: Ordinary Differential Equations

AP Calculus AB. Free-Response Questions

Calculus for the Life Sciences

An object is launched straight upward so that its height, h, is a function of time, t, with

AP Calculus AB Winter Break Packet Happy Holidays!

The Fundamental Theorem of Calculus

dy dt = a by y = a b

Unit 5 Applications of Antidifferentiation

Transcription:

Lesson 55 Numerical Solutions to Differential Equations Euler's Method IBHL - 1 (A) Opening Problem Newton s Law of Cooling! Newton s Law of Cooling states that the temperature of a body changes at a rate proportional to the difference in temperature between its own temperature and the temperature of its surroundings! For example, a ball at 1200K is allowed to cool down in air at an ambient temperature of 300K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given (in general) by dt dt = A ( T T s) where T S is the surroundings temp! Estimate the temperature after 480 seconds 2 1

(A) Opening Problem BUT what if...! A ball at 1200K is allowed to cool down in air at an ambient temperature of 300K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is NOW given (in general) by! But specifically now by: dt dt = A T 4 B ( ) where T 0 ( ) = T 0 (in Kelvin) dt dt = 2.2067 10 12 T 4 81 10 8 ( ) and T 0 ( ) =1200K! Estimate the temperature after 480 seconds 3 Lesson Objectives! Review solution strategies to solving Diff Eqns! algebraic and graphic (slope fields)! Find specific numerical solutions to Diff Eqns through successive linear approximations (Euler s method) 4 2

Slope Manipulations.! If m = Δy solve for y Δx = y 2 y 1 Δx 2! Explain the significance of y 2, given the calculation you have just performed. Explain with a visual 5 (A) Overview! If we were given a separable differential equation and an initial condition, we could find the solution.! However, there are some differential equations where this simple technique (separable) will not work! so there are other techniques for solving differential equations, but again they too sometimes fail. 6 3

(A) Overview! This is where Euler's Method is used. Euler's Method provides us with an approximation for the solution of a differential equation. The idea behind Euler's Method is to use the concept of local linearity to join multiple small line segments so that they make up an approximation of the actual curve, as seen in the diagram. 7 (A) Overview! Other times, we may not be interested in a visual solution (graph) & we cannot algebraically develop the equation of the solution, but we may be interested in a SPECIFIC NUMERIC solution! FOR EXAMPLE:! A ball at 1200K is allowed to cool down in air at an ambient temperature of 300K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given by dt dt = 2.2067 ( 10 12 T 4 81 10 8 ),T( 0) =1200K 8! and we want an estimate the temperature after 480 seconds 4

(B) What is Euler s Method?! METHOD: Essentially, you take an initial condition (a given data point), and use that condition as a starting point to take a small step h along the tangent line to get to a new point. Now repeat using the new point as a starting point.! *Note: The smaller the steps used, the more accurate your graph will be. y True Value y i+1, Predicted value y i h Step size x i x i+1 x 5

(B) Explain the next 5 slides. 11 (B) Explain the next 4 slides. 12 6

(B) Explain the next 3 slides. 13 (B) Explain the next 2 slides. 14 7

(B) Explain the next 1 slide. 15 (C) Example! Given the differential equation dy dx = x 2 y and y(0) =1 find the value of y(2) using Euler s method with 4 iterations. 8

(C) Example 17 OVERVIEW: To Apply Euler s Method: 1. Divide the interval n equal subintervals. (In our example 4.) 2. Compute the width of each subinterval which is Δx=h=(x n -x 0 )/n. 3. Compute the sequence of points as follows: y 0 (x 4,y 4 ) (x 3,y 3 ) (x (x 1,y 1 ) act,y act ) (x 2,y 2 ) (x 0,y 0 ) Δx x 0 x 1 x 2 x 3 x 4 In general the coordinates of the point (x n+1,y n+1 ) can be computed from the coordinates of the point (x n,y n ) as follows: 9

Example: Given the differential equation to the right with its boundary conditions find the value of y(2) using Euler s method with 4 iterations. 1. x 0 = 0 and y 0 =1 and x 4 = 2 2. h = Δx = 2 0 4 = 1 2 x 1 = 0 + 1 2 3. = 1 2 y 1 =1+ ( 0 2 1) 1 =1 2 x 2 = 1 + 1 =1 2 2 4. y 2 =1+ ( 1 2) 2 1 x 3 =1+ 1 =1.5 2 5. y 3 =1.125 + ( 1) 2 1.125 x 4 =1.5 + 1 = 2 2 6. y 4 =1.6875 + ( 1.5) 2 1.6875 ( ) 1 2 =1+ 1 8 =1.125 ( ) 1 2 =1.125 +.5625 =1.6875 ( ) 1 2 =1.6875 +1.89844 = 3.58594 dy dx = x 2 y y(0) =1 The actual solution is: y = e 1 3 x 3 y(2) = e 8 3 =14.3919 Other examples. 20 10

Other examples. 21 Other examples. 22 11

Other examples. 23 24 12

25 Other worked examples.! http://iss.schoolwires.com/cms/lib4/nc01000579/centricity/ Domain/2872/eulers%20method%20practice2.pdf! https://mrswood17.wikispaces.com/file/view/ 6.6+Euler's+worksheet+answers.pdf! http://liberty.kernhigh.org/wp-content/uploads/2013/09/eulersmethod-2013.pdf! http://apcentral.collegeboard.com/apc/public/repository/ ap09_calculus_bc_q4.pdf 26 13

(A) Opening Problem! A ball at 1200K is allowed to cool down in air at an ambient temperature of 300K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given (in general) by dt dt = A T 4 B ( ) where T 0 ( ) = T 0 (in Kelvin)! But specifically now by: dt dt = 2.2067 10 12 T 4 81 10 8 ( ) and T 0 ( ) =1200K! Estimate the temperature after 480 seconds 27 (A) Back to Opening Problem! A ball at 1200K is allowed to cool down in air at an ambient temperature of 300K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given by dt dt = 2.2067 10 12 T 4 81 10 8 ( ),T 0 ( ) =1200K! Estimate the temperature after 480 seconds, using h to be 240. 28 14

Solution Step 1: is the approximate temperature at 29 Solution Cont Step 2: For is the approximate temperature at 30 15

Solution Cont The exact solution of the ordinary differential equation is given by the solution of a non-linear equation as The solution to this nonlinear equation at t=480 seconds is 31 Comparison of Exact and Numerical Solutions 32 Figure 3. Comparing exact and Euler s method 16

Effect of step size Table 1. Temperature at 480 seconds as a function of step size, h Step, h θ(480) E t є t % 480 240 120 60 30 987.81 110.32 546.77 614.97 632.77 1635.4 537.26 100.80 32.607 14.806 252.54 82.964 15.566 5.0352 2.2864 (exact) 33 Comparison with exact results Figure 4. Comparison of Euler s method with exact solution for different step sizes 34 17

Video Resources! https://www.youtube.com/watch? v=4wgyb87mjcm&index=3&list=ple11a4e20ea2 73630! https://www.youtube.com/watch?v=ty_tlcj3wek 35 18