Math 104: Euler s Method and Applications of ODEs

Similar documents
Direction Fields; Euler s Method

Review Initial Value Problems Euler s Method Summary

During the timed portion for Part A, you may work only on the problems in Part A.

=.1( sin(2πx/24) y) y(0) = 70.

MA 114 Worksheet #17: Average value of a function

Calculus II (Math 122) Final Exam, 11 December 2013

Application 2.4 Implementing Euler's Method

Euler s Method and Logistic Growth (BC Only)

c x y f() f (x) Determine the Determine the Approximate c : Replacin on the AP exam: under-approximation

Tangent Lines and Linear Approximations Solutions

The following information is for reviewing the material since Exam 3:

MAT 1475 Final Exam Review Problems

----- o Implicit Differentiation ID: A. dy r.---; d 2 Y 2. If- = '" 1-y- then - = dx 'dx 2. a c. -1 d. -2 e.

Euler s Methods (a family of Runge- Ku9a methods)

Tangent Planes/Critical Points

NAME: Section # SSN: X X X X

Exam 1 Review. MATH Intuitive Calculus Fall Name:. Show your reasoning. Use standard notation correctly.

MATH 137 : Calculus 1 for Honours Mathematics. Online Assignment #5. Limits and Continuity of Functions

Curves, Tangent Planes, and Differentials ( ) Feb. 26, 2012 (Sun) Lecture 9. Partial Derivatives: Signs on Level Curves, Tangent

Calculators ARE NOT Permitted On This Portion Of The Exam 28 Questions - 55 Minutes

Topic 2.3: Tangent Planes, Differentiability, and Linear Approximations. Textbook: Section 14.4

Continuity and Tangent Lines for functions of two variables

MATH 19520/51 Class 6

Kevin James. MTHSC 206 Section 14.5 The Chain Rule

Exact equations are first order DEs of the form M(x, y) + N(x, y) y' = 0 for which we can find a function f(x, φ(x)) so that

Tuesday 22 January 2008 Afternoon Time: 1 hour 30 minutes

Surfaces and Partial Derivatives

ChE 400: Applied Chemical Engineering Calculations Tutorial 6: Numerical Solution of ODE Using Excel and Matlab

Section 4.2 selected answers Math 131 Multivariate Calculus D Joyce, Spring 2014

Module1: Numerical Solution of Ordinary Differential Equations. Lecture 6. Higher order Runge Kutta Methods

Name Class. (a) (b) (c) 2. Find the volume of the solid formed by revolving the region bounded by the graphs of

over The idea is to construct an algorithm to solve the IVP ODE (9.1)

REVIEW I MATH 254 Calculus IV. Exam I (Friday, April 29) will cover sections

AP Calculus AB Unit 2 Assessment

Surfaces and Partial Derivatives

Lesson 7. Opening Exercise Warm Up 1. Without graphing, state the vertex for each of the following quadratic equations.

THE TANGENT PLANE 6.1 INTRODUCTION TO THE TANGENT PLANE CHAPTER 6:

SPM Add Math Form 5 Chapter 3 Integration

Euler and improved Euler using SAGE

Math 21a Tangent Lines and Planes Fall, What do we know about the gradient f? Tangent Lines to Curves in the Plane.

Lecture 8: Euler s Methods

Name: Signature: Section and TA:

B. Examples Set up the integral(s) needed to find the area of the region bounded by

1. No calculators or other electronic devices are allowed during this exam.

Unit 2: Linear Functions

Differentiation. The Derivative and the Tangent Line Problem 10/9/2014. Copyright Cengage Learning. All rights reserved.

VisiMix RSDE. High Shear Homogenizing. Defining Process Duration.

FIVE YEARS OLD. P r o f e s s o r ikobbins B. Stoeckei ol is s h o w n b y the J u n e 1 pig c r o p

For Test #1 study these problems, the examples in your notes, and the homework.

The listing says y(1) = How did the computer know this?

Gradient and Directional Derivatives

Worksheet 2.2: Partial Derivatives

Name: Class: Date: 1. Use Lagrange multipliers to find the maximum and minimum values of the function subject to the given constraint.

Math Quiz 2 - Tuesday, October 4 Your name here:

MATH2071: LAB 2: Explicit ODE methods

Approximate Solutions to Differential Equations Slope Fields (graphical) and Euler s Method (numeric) by Dave Slomer

First of all, we need to know what it means for a parameterize curve to be differentiable. FACT:

Differentiation. J. Gerlach November 2010

MOLLIER DIAGRAM CAN BE IMPROVED!

AMATYC November 11 th, 2011

Math 113 Calculus III Final Exam Practice Problems Spring 2003

MA FINAL EXAM INSTRUCTIONS VERSION 01 DECEMBER 9, Section # and recitation time

DEPARTMENT OF MATHEMATICS AND STATISTICS QUEEN S UNIVERSITY AT KINGSTON MATH 121/124 - APR 2014 A. Ableson, T. Day, A. Hoefel

3. The three points (2, 4, 1), (1, 2, 2) and (5, 2, 2) determine a plane. Which of the following points is in that plane?

SHOW ALL NEEDED WORK IN YOUR NOTEBOOK.

MAT 275 Laboratory 3 Numerical Solutions by Euler and Improved Euler Methods (scalar equations)

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002

2.9 Linear Approximations and Differentials

6.2 Volumes by Disks, Washers, and Cross-Sections

ODE IVP. An Ordinary Differential Equation (ODE) is an equation that contains a function having one independent variable:

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

(c) 0 (d) (a) 27 (b) (e) x 2 3x2

Integration. Edexcel GCE. Core Mathematics C4

Lesson 19: The Graph of a Linear Equation in Two Variables Is a Line

Creating and Incorporating Dynamic Applets for Differential Equations the Easy Way

Math 126 Winter CHECK that your exam contains 8 problems.

Using Graphical Analysis This exercise will familiarize you with using Graphical Analysis in Beer s Law and kinetics.

practice: quadratic functions [102 marks]

1.8 Intro to Variables, Algebraic Expressions, and Equations

Math 241, Final Exam. 12/11/12.

9.1 Solutions, Slope Fields, and Euler s Method

Section 7.2 Volume: The Disk Method

FAZE 800 FT PRO USER MANUAL. Version: 1.2. ROBE Lighting s.r.o. Czech Republic

CALCULUS WITH PHYSICS APPLICATIONS - FUNCTIONALITY for the TiNspire CAS CX

Daily WeBWorK, #1. This means the two planes normal vectors must be multiples of each other.

(1) Given the following system of linear equations, which depends on a parameter a R, 3x y + 5z = 2 4x + y + (a 2 14)z = a + 2

The Divergence Theorem

Practice Set 44 Simplifying Trigonometric Expressions

Homework Set 5 (Sections )

Math 209, Fall 2009 Homework 3

Jakarta International School 8 th Grade AG1

Ounces Pounds Word Problems

Math 265 Exam 3 Solutions

Date: 16 July 2016, Saturday Time: 14:00-16:00 STUDENT NO:... Math 102 Calculus II Midterm Exam II Solutions TOTAL. Please Read Carefully:

A more generalized coordinate transformation approach for grisms

Review for Applications of Definite Integrals Sections

LECTURE 3-1 AREA OF A REGION BOUNDED BY CURVES

Math 133A, September 10: Numerical Methods (Euler & Runge-Kutta) Section 1: Numerical Methods

John Perry. Spring 2016

Section 17.7: Surface Integrals. 1 Objectives. 2 Assignments. 3 Maple Commands. 4 Lecture. 4.1 Riemann definition

Transcription:

Math 104: Euler s Method and Applications of ODEs Ryan Blair University of Pennsylvania Tuesday January 29, 2013 Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 1 / 7

Outline 1 Review 2 Euler s Method 3 Mixing Problems Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 2 / 7

Review Review Last time we learned how to solve certain differential equations using 1 separation of variables. 2 integrating factor method. We also learned how to visualized first order ODEs using slope fields. Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 3 / 7

Review Review Last time we learned how to solve certain differential equations using 1 separation of variables. 2 integrating factor method. We also learned how to visualized first order ODEs using slope fields. Exercise: Solve the following differential equation y +xy = x. Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 3 / 7

Review Review Last time we learned how to solve certain differential equations using 1 separation of variables. 2 integrating factor method. We also learned how to visualized first order ODEs using slope fields. Exercise: Solve the following differential equation y +xy = x. Exercise: Graph the slope field of y +xy = x and use it to find the behavior at infinity of the solution to the IVP y +xy = x and y(0) = 2. Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 3 / 7

Euler s Method Euler s Method Euler s Method is a method of approximating solutions to first-order IVPs, i.e.: dy dx = F(x,y),y(x 0) = y 0 Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 4 / 7

Euler s Method Euler s Method Euler s Method is a method of approximating solutions to first-order IVPs, i.e.: dy dx = F(x,y),y(x 0) = y 0 Warm-up Example:Let f(x) be a solution to the IVP dy = x +y,y(0) = 1. Find a linear approximation of f(x) at x = 0 dx and use this to estimate f(1) Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 4 / 7

Euler s Method Euler s Method Approximating solutions to dy dx = F(x,y),y(x 0) = y 0. 1 Choose a step size h. 2 Derive a linear approximation y 1 = y 0 +hf(x 0,y 0 ). 3 Take one step and derive the second approximation at x 1 = x 0 +h given by y 2 = y 1 +hf(x 1,y 1 ). 4 Continue inductively to derive additional approximations x k+1 = x k +h and y k+1 = y k +hf(x k,y k ) Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 5 / 7

Euler s Method Euler s Method Approximating solutions to dy dx = F(x,y),y(x 0) = y 0. 1 Choose a step size h. 2 Derive a linear approximation y 1 = y 0 +hf(x 0,y 0 ). 3 Take one step and derive the second approximation at x 1 = x 0 +h given by y 2 = y 1 +hf(x 1,y 1 ). 4 Continue inductively to derive additional approximations x k+1 = x k +h and y k+1 = y k +hf(x k,y k ) Example:Let f(x) be a solution to the IVP dy = x +y,y(0) = 1. dx Use Euler s Method to approximate f(1) with a step size of 1. 4 Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 5 / 7

Euler s Method Euler s Method Approximating solutions to dy dx = F(x,y),y(x 0) = y 0. 1 Choose a step size h. 2 Derive a linear approximation y 1 = y 0 +hf(x 0,y 0 ). 3 Take one step and derive the second approximation at x 1 = x 0 +h given by y 2 = y 1 +hf(x 1,y 1 ). 4 Continue inductively to derive additional approximations x k+1 = x k +h and y k+1 = y k +hf(x k,y k ) Example:Let f(x) be a solution to the IVP dy = x +y,y(0) = 1. dx Use Euler s Method to approximate f(1) with a step size of 1. 4 Example:Let f(x) be a solution to the IVP dy = y,y(0) = 1. Use dx Euler s Method to approximate f(1) with a step size of 1. 3 Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 5 / 7

Mixing Problems Mixing Problems Mixing problems are applications of first order separable differential equations. The Setup: A holding tank contains fluid. Fluid with a particular concentration is being pumped in at a particular rate. At the same time the tank is being drained at a particular rate. Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 6 / 7

Mixing Problems Mixing Problems Mixing problems are applications of first order separable differential equations. The Setup: A holding tank contains fluid. Fluid with a particular concentration is being pumped in at a particular rate. At the same time the tank is being drained at a particular rate. Example: A tank contains 15kg of salt dissolved in 1000L of water. Brine that contains.05kg of salt per liter is pumped in at a rate of 10L per minute. The solution is thoroughly mixed and drained at a rate of 10L per minute. What is the amount of salt in the tank at t minutes? Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 6 / 7

Mixing Problems Mixing Problems A vat with 500L of beer contains 4 percent alcohol. Beer with 6 percent alcohol is poured in at a rate of 5L per min. The mixture is pumped out at the same rate. What is the percent of alcohol after one hour? Ryan Blair (U Penn) Math 104:Euler s Method and Applications of ODEsTuesday January 29, 2013 7 / 7