Ordinary Differential Equations

Size: px
Start display at page:

Download "Ordinary Differential Equations"

Transcription

1 Chapter 7 Ordinary Differential Equations Differential equations are an extremely important tool in various science and engineering disciplines. Laws of nature are most often expressed as different equations. Just as it is often difficult to evaluate an integral analytically, it is often difficult to solve an Ordinary Differential Equation ODE) analytically. Simple examples in which analytical methods e.g., separation of variables) are successful are illustrated below. Example 7.1 Consider the equation Rearranging the terms, Taking the integral for both sides, which gives where C is a constant. Therefore, dt = y. y = dt. y = dt, log y = t + C, y = ±e C e t. Example 7.2 Here is a somewhat more complicated equation dt = 1 y y. Rearranging the equation and taking the integral, 1 y y = we obtain Case 1: Assume y > 0; therefore, Computing the integral, we have dt, 1 y y = t + C, 1 y 2 = t + C. tanh 1 y = t + C, y < 1 coth 1 y = t + C y > 1

2 Chap. 7. Ordinary Differential Equations CS414 Class Notes 103 which gives the following solution y = { tanht + C), y < 1 cotht + C), y > 1 Case 2: Assume y < 0; therefore, which can be simplified to giving the solution 1 + y 2 = t + C, tan 1 y = t + C, y = tant + C) Example 7.3 Solve the equation y t) = tyt) with the condition y0) = 1. Again, rearranging and integrating, y = tdt, which gives the solution log e y = t2 2 + C. Now, we enforce the condition y0) = 1 to get log e 1 = 0 + C C = 0 The solution can now be written as yt) = e t The Initial-Value Problem for a Single ODE The general form of the initial value problem for a single ODE is y t) = ft, yt)), ya) = η The first part, y t) = ft, yt)) gives the slope of the function yt) at t. This condition determines a family of curves in the t y plane that satisfy the given equation. To specify a particular curve, we need an additional condition. The second part, ya) = η specifies the function value at η. Such a condition is called the initial condition, and determines a unique solution. Suppose y t) = ft) dt = ft) Therefore, and integrating both sides, we have t a dt = ft), = t a ft)dt.

3 Chap. 7. Ordinary Differential Equations CS414 Class Notes 104 z η z=yt) [solution] a t Figure 7.1: The initial value problem for a single ODE. Along with the initial condition, ya) = η, we get the following solution yt) = η + t a fs)ds Example 7.4 Suppose that an ODE has as its solution yt) = 3 + Ce 2t where C is an arbitrary constant 1. Show that there exists a solution through any point t 0, y 0 ) in the t y plane. 2. Show that this is not true if instead yt) = 3 + C t. Solution 1. We know that 3+C e 2t0 = y 0, which implies that C = y 0 3)e 2t0. Therefore, the following function yt) passes through t 0, y 0 ): yt) = 3 + y 0 3)e 2t t0) 2. If 3 + C t 0 = y 0, then C = y 0 3)/t 0. For t 0 = 0 and y 0 3, we cannot satisfy 3 + C t 0 = y 0. Example 7.5 Obtain the general solution of y t) = yt)/t, and also the particular solution for the initial condition y1) = 1 2. Solution Rearranging the equation, Integrating both sides, and thus, y = dt t. log e y = log e t + C 1, y = e C1+log e t = e C1 t.

4 Chap. 7. Ordinary Differential Equations CS414 Class Notes 105 Since y1) = 1 2, we have e C1 = 1 2, and therefore, yt) = 0.5t Example 7.6 Solve for the initial condition y0) = 1/2. Solution Rearranging the equation, The integral of the left hand side is given as y1 y) = y + y t) = yt)[1 yt)] y1 y) = dt 1 y = log e y log e 1 y). Thus, or log e y log e 1 y) = t + C, log e y 1 y = t + C. At t = 0, y0) = 1 2, which implies that C = 0. This gives the solution or yt) 1 yt) = et yt) = et 1 + e t. Example 7.7 Solve given that y1) = η. Solution Rearranging, and integrating, The initial condition implies y t) = y2 t), t 1, t y 2 = dt t, y 1 = log e t + C. 1 η = log1 e +C C = 1 η. Thus, yt) = η 1 η log e t.

5 Chap. 7. Ordinary Differential Equations CS414 Class Notes 106 yt) y= γ e t εe t initial value ε t Figure 7.2: Unstable family of solutions. y= γ e -t yt) initial value ε εe -t t Figure 7.3: A stable family of solutions. 7.2 Stability The single ODE y t) = y has the family of solutions yt) = γe t. Note that the error ɛ at t = 0 grows by a factor of e t at time t. On the other hand, for y t) = yt), we have the family of solutions yt) = γe t, and the error ɛ at t = 0, decreases as t increases by a factor of e t. Figs.?? and?? represent this fact graphically. 7.3 Euler s Method In order to solve the equation, = ft, y), dt let us consider the simple finite difference approximation in time y k+1 y k h = ft k, y k ) k = 0, 1, 2,..., N where we have chosen a uniform mesh for the time axis. The time instance t k is given by

6 Chap. 7. Ordinary Differential Equations CS414 Class Notes 107 h a=t 0 t 3 t 1 t 2 t N-1 t =b N Figure 7.4: A uniform mesh for the time axis. t k = k h + a where a is the starting instance and b is the final time. Thus, h = b a N y k+1 = y k + h ft k, y k ). y k solution through t, y ) k-1 k-1 y k-1 t k-1 h t k Figure 7.5: Euler s method. Example 7.8 Consider y t) = 1 y 2 t) with the initial condition y0) = 0. Let h = 0.1; since y0) = 0, we have y 1 = y )[1 y 2 0] = 0.1, y 2 = y )1 y1 2 ) = )1.01) = Similarly, y 3 = 0.295,..., etc Local and Global Error in Euler s Method We need a measure of the error by which the exact solution of y = ft, y) fails to satisfy the difference equation y k+1 = y k + hft k, y k ). This is known as the local truncation error, or discretization error and is define by... At time t k we are at the point t k, y k ). Most likely it is not on the true solution but rather on some nearby solution Ut), i.e., y k = Ut k ), U t) = ft, Ut)). We call Ut) the local solution. Therefore, the local error is given by d k+1 = y k+1 Ut k+1 ). But, y k+1 = Ut k ) + hu t k )

7 Chap. 7. Ordinary Differential Equations CS414 Class Notes 108 y k+1 d k+1 Ut) y k t h t k k+1 Figure 7.6: Local error. and since Ut k+1 ) = Ut k ) + hu t k ) + h2 2 U τ k+1 ), where the last term on the right hand side is the error. This is obvious since and thus, Ut k+1 ) = y k+1 + h2 2 U τ k+1 ) d k+1 = h2 2 U τ k+1 ) The important error here however, is the global error, e k = y k yt k ). which is the total error accrued over N steps. In fact, d 3 e 3 d 2 d 1 yt) t 0 t 1 t 2 t 3 Figure 7.7: Global error. e N = N 1 k=1 G N,k d k + d N

8 Chap. 7. Ordinary Differential Equations CS414 Class Notes 109 where G ij are the magnification factors. Example 7.9 Give a closed-form expression for y N obtained by Euler s method with step-size 1 N y t) = yt), y0) = 1. for Solution where h = 1 N. Therefore, y 1 = y 2 = y k = y k+1 = y k + hft k, y k ) = y k + hy t k ) = y k + hy k = 1 + h)y k, ) y 0 N ) y 1 = ) 2 y 0,... N N ) k y 0. N Since y 0 = 1, we have y k = ) k N Example 7.10 For the differential equation y t) = yt), a local error introduced into the numerical solution tn tn) at mesh point t n will have an effect on the numerical solution at some later mesh point t N that is e times greater. Suppose we have a mesh 0 < 0.1 < 0.3 < 0.6 < 1 with local errors 0.02, 0.01, 0.05, 0.04 introduced at the end of each of the four steps in the order given. What is the global error at t = 1.0? Solution We know that the solution of is given by Therefore, the global error at t = 1.0 is 7.4 Systems of ODE s y t) = yt) yt) = γe t. e 4 = 0.02 e 1 0.1) e 1 0.3) e 1 0.6) = 0.02e e e = A general system of n ODE s can be written as d dt y1) t) = f 1 t, y 1) t), y 2) t),..., y n) t)), y 1) a) = η 1 d dt y2) t) = f 2 t, y 1) t), y 2) t),..., y n) t)), y 2) a) = η d dt yn) t) = f n t, y 1) t), y 2) t),..., y n) t)), y n) a) = η n..

9 Chap. 7. Ordinary Differential Equations CS414 Class Notes 110 Alternately, this can be expressed as the following system of ODE s η 1 y η 2 t) = ft, y), ya) =.. η n Euler s method for this system is given by For instance, consider the following system for n = 2 Euler s method is given by y k+1 = y k + hft k, y k ). x t) = ft, xt), yt)), y t) = gt, xt), yt)). x k+1 = x k + hft k, x k, y k ), y k+1 = y k + hgt k, x k, y k ). Example 7.11 Consider the equations r t) = 2rt).01rt)ft), f t) = ft) +.01rt)ft), which represent the rate of change of the populations of rabbits and foxes predator-prey relationship). 1. Is there a particular solution to this problem for which the rabbit and fox population stay constant? 2. How many foxes must there be to bring about a decrease in the rabbit population? 3. What happens to the rabbit population if there are no foxes? Solution 1. For the populations to stay constant which gives the solution f t) = r t) = 0 rt) = 100, ft) = A decrease in rabbit population corresponds to the condition r t) < 0, which implies rt)[2.01ft)] < ft) < 0 ft) > If ft) = 0, then which implies exponential growth! r t) = 2rt) rt) = γ e 2t

10 Chap. 7. Ordinary Differential Equations CS414 Class Notes 111 Note: This is realistic for small population r. For large r, however, there are limiting factors such as availability of food and space. Example 7.12 Determine t n, r n, f n, r n, f n for n = 0, 1 for Euler s method applied to with r0) = 300, f0) = 150 and h =.001. Solution 7.5 Taylor-series Methods r t) = 2rt) 0.1rt)ft), f t) = ft) + 0.1rt)ft), r 0 = )150) = 3900, f 0 = )300)150) = 4350, r 1 = r 0 + hr 0 = )3900) = 296.1, f 1 = f 0 + hf 0 = )4350) = , r 1 = 2r 1 0.1r 1 f 1 = , f 1 = f r 1 f 1 = Euler s method can be improved using the Taylor-series expansion of yt). We know that where yt) yt k ) + t t k )y t k ) + t t k) 2 y t k ), 2 y t k ) = ft k, yt k )), is provided to us. The last term, y t k ), can be obtained simply by differentiating the ODE and evaluating the resulting expression at t = t k. The following example illustrates the concept. Example 7.13 Consider the ODE Differentiating w.r.t. t, we get At time t k, and y = t 2 + y 2. y = 2t + 2yy. y k = t 2 k + y 2 k, y k = 2t k + 2y k y k. Using these equations in the Taylor-series approximation, For t k = 2, y k = 1, h = 0.1, we get and y k+1 = The local truncation error is given by y k+1 = y k + hy k + h2 2 y k, y k = 5, y k = 14, d k+1 = h3 y τ k+1 ), 3!

11 Chap. 7. Ordinary Differential Equations CS414 Class Notes 112 with t k < τ k+1 < t k+1. An error like this is committed at every step, and after a number of steps proportional to 1 h, it accumulates to give a global error of Oh2 ). Hence we have a method whose order of accuracy is 2, which we call 2 nd -order Taylor Method. Example 7.14 For the equation where y2) = 1, determine the value of y 2). Solution From the equation, we have Thus, y2) = 1 y = ty 2 y = y 2 + 2tyy y t) = ty 2 t), y = 2yy + 2yy + 2ty ) 2 + 2tyy. y 2) = 2 1 = 2 y 2) = )2) = 9 y 2) = ) = = 60. Example 7.15 Given y t) = ty t) + y 2 t), and y1) = 1, y 1) = 2, determine y 1). Solution Differentiating the above equation, and therefore, y t) = y t) + ty t) + 2yt)y t), y 1) = ) = 9 Example 7.16 Obtain the equations for one step of the 3 rd order Taylor-series method applied to y t) = tyt). Solution The Taylor-series expansion is given as Therefore, the method is For y = ty, we have Ut) = Ut k ) + t t k )U t k ) + t t k) 2 2! y k+1 = y k + hy k + h2 = y k + h [ y k + h 2 U t k ) + t t k) 3 U t k ) + 3! 2! y k + h3 3! y k y k + h 3 y k )] y k = t k y k, y k = y k + t k y k, y k = 2y k + t ky k

12 Chap. 7. Ordinary Differential Equations CS414 Class Notes Runge-Kutta Methods Runge-Kutta methods are a class of methods that were devised to avoid computing analytic derivatives of y without sacrificing the accuracy of Taylor methods Runge s Midpoint Method The simplest method in this class of methods can be derived using the observation that yt k + h) yt k ) = tk +h t k y t)dt, where the right hand side requires computing the average value of y t) over the interval [t k, t k + h]. The integral can be approximated in a number of different ways. Euler s method uses the approximation tk +h t k y t)dt hy t k ). A better approximation can be obtained using the value of y at the midpoint of the interval [t k, t k + h] tk +h t k y t)dt hy t k + h/2). y y k+h/2 y k+h y k h/2 h/2 Figure 7.8: Approximating t k +h t k y t)dt by the midpoint quadrature rule. Although it is not possible to compute y t k + h/2), we can approximate it with the value obtained using Euler s method with step size h/2, i.e., where yt k + h/2) is given by Runge s midpoint method y t k + h/2) ft k + h/2, yt k + h/2)) yt k + h/2) = yt k ) + h 2 ft k, y k ). y k+ 1 2 g 1 = ft k, y k ) = y k + h 2 g 1 g 2 = f t k + h ) 2, y k+ 1 2 y k+1 = y k + hg 2

13 Chap. 7. Ordinary Differential Equations CS414 Class Notes 114 slope = g 2 slope = g 1 y k+1 d k+1 y k t k h/2 t +h/2 h/2 k Figure 7.9: Runge s midpoint method. t +h k Runge s Trapezoid Method Another way to approximate the integral of y t) on the interval [t k, t k + h] uses the trapezoid rule. The y y t +h) k y t ) k algorithm is stated below. Runge s Trapezoid method h Figure 7.10: Approximating t k +h t k y t)dt by the trapezoid rule. g 1 = ft k, y k ) g 2 = ft k + h, y k + hg 1 ) y k+1 = y k + h 2 g 1 + g 2 ) Example 7.17 Suppose t k = 2, y k = 1, and h = 0.1. Then, g 1 = ft k, y k ) = t 2 k + y2 k = = 5

14 Chap. 7. Ordinary Differential Equations CS414 Class Notes 115 slope = g 2 slope = g 1 y k+1 d k+1 y k slope = g + g t k h t +h Figure 7.11: Runge s trapezoid method. k g 2 = ft k + h, y k + hg 1 ) = t k + h) 2 + y k + hg 1 ) 2 = 2.1) ) 2 = 6.66 y k+1 = y k + h 2 g 1 + g 2 ) = ) 2 = = = General 2 nd order 2-stage Runge-Kutta Methods The two methods described above are special cases of general 2-stage Runge-Kutta methods which are 2 nd order accurate. The general form can be rewritten as g 1 = ft k, y k ) g 2 = ft k + αh, y k + αhg 1 ) [ y k+1 = y k + h 1 1 ) g ] 2α 2α g 2 Clearly, when α = 1/2, we obtain Runge s midpoint method, where g 1 = ft k, y k ) g 2 = ft k h, y k hg 1) y k+1 = y k + hg 2

15 Chap. 7. Ordinary Differential Equations CS414 Class Notes 116 while α = 1 gives Runge s trapezoid rule g 1 = ft k, y k ) g 2 = ft k + h, y k + hg 1 ) y k+1 = y k + h 2 [g 1 + g 2 ] Observe that the general form can be written as y k+1 = y k ) hy k 2α + h 2α ft k + αh, y k + αhy k ) Also, note that lim α 0 = y k + hy k + h2 2 [ ftk + αh, y k + αhy k ) ft k, y k ) [ ftk + αh, y k + αhy k ) ft ] k, y k ) = f t k, y k ) = y t k ). αh Therefore, as α 0, the method approaches the 2 nd order Taylor s method Classical 4 th Order Runge-Kutta Method A popular 4 th order accurate method, commonly known as the Runge-Kutta method, uses the slopes at four specially selected points, to compute the function at the next step, αh g 1 = ft k, y k ), g 2 = f t k + h 2, y k + h ) 2 g 1, g 3 = f t k + h 2, y k + h ) 2 g 2, g 4 = ft k + h, y k + hg 3 ), y k+1 = y k + h This method is also called Kutta-Simpson s method. Example 7.18 Given [ 1 6 g g g ] 6 g 4. y = 1 + y 2, y0) = 0, calculate yπ/4) with step size h = π/4 using Kutta-Simpson s method. ]. g 1 = ft 0, y 0 ) = = 1 h g 2 = f 2, y 0 + h ) 2 g 2 = 1 + y 0 + h ) 2 2 g 1 = π ) = h g 3 = f 2, y 0 + h ) 2 g 2 ) h g 4 = f 2, y 0 + hg 3 = π ) = = π ) =

16 Chap. 7. Ordinary Differential Equations CS414 Class Notes 117 Therefore, [ 1 y 1 = y 0 + h 6 g g g ] 6 g 4 = 0 + π [ ) + 1 ] ) = π 4 1 [ ] = Here, y 1 has a relative error of 0.3%. In contrast, Euler s method with the step size π/16 gives the solution y Euler) 4 = for the same time instant. This has a relative error of 9.8%. This is due to the fact that Kutta-Simpson s method is 4 th order with Oh 4 ) error whereas Euler s method is only 1 st order with Oh) error. Thus, a reduction in the step size from h to h/2 improves the error in Kutta-Simpson s method by a factor of 16, but only by a factor of 2 in Euler s method.

Consistency and Convergence

Consistency and Convergence Jim Lambers MAT 77 Fall Semester 010-11 Lecture 0 Notes These notes correspond to Sections 1.3, 1.4 and 1.5 in the text. Consistency and Convergence We have learned that the numerical solution obtained

More information

Numerical Differential Equations: IVP

Numerical Differential Equations: IVP Chapter 11 Numerical Differential Equations: IVP **** 4/16/13 EC (Incomplete) 11.1 Initial Value Problem for Ordinary Differential Equations We consider the problem of numerically solving a differential

More information

Euler s Method, cont d

Euler s Method, cont d Jim Lambers MAT 461/561 Spring Semester 009-10 Lecture 3 Notes These notes correspond to Sections 5. and 5.4 in the text. Euler s Method, cont d We conclude our discussion of Euler s method with an example

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations II 1 / 29 Almost Done! No

More information

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of Scientific Computing with Case Studies SIAM Press, 2009 http://www.cs.umd.edu/users/oleary/sccswebpage Lecture Notes for Unit V Solution of Differential Equations Part 1 Dianne P. O Leary c 2008 1 The

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations AMSC/CMSC 660 Scientific Computing I Fall 2008 UNIT 5: Numerical Solution of Ordinary Differential Equations Part 1 Dianne P. O Leary c 2008 The Plan Initial value problems (ivps) for ordinary differential

More information

Ordinary Differential Equations

Ordinary Differential Equations CHAPTER 8 Ordinary Differential Equations 8.1. Introduction My section 8.1 will cover the material in sections 8.1 and 8.2 in the book. Read the book sections on your own. I don t like the order of things

More information

Chap. 20: Initial-Value Problems

Chap. 20: Initial-Value Problems Chap. 20: Initial-Value Problems Ordinary Differential Equations Goal: to solve differential equations of the form: dy dt f t, y The methods in this chapter are all one-step methods and have the general

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations II 1 / 33 Almost Done! Last

More information

Lecture Notes on Numerical Differential Equations: IVP

Lecture Notes on Numerical Differential Equations: IVP Lecture Notes on Numerical Differential Equations: IVP Professor Biswa Nath Datta Department of Mathematical Sciences Northern Illinois University DeKalb, IL. 60115 USA E mail: dattab@math.niu.edu URL:

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

Math 128A Spring 2003 Week 12 Solutions

Math 128A Spring 2003 Week 12 Solutions Math 128A Spring 2003 Week 12 Solutions Burden & Faires 5.9: 1b, 2b, 3, 5, 6, 7 Burden & Faires 5.10: 4, 5, 8 Burden & Faires 5.11: 1c, 2, 5, 6, 8 Burden & Faires 5.9. Higher-Order Equations and Systems

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

Numerical Methods - Initial Value Problems for ODEs

Numerical Methods - Initial Value Problems for ODEs Numerical Methods - Initial Value Problems for ODEs Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Initial Value Problems for ODEs 2013 1 / 43 Outline 1 Initial Value

More information

What we ll do: Lecture 21. Ordinary Differential Equations (ODEs) Differential Equations. Ordinary Differential Equations

What we ll do: Lecture 21. Ordinary Differential Equations (ODEs) Differential Equations. Ordinary Differential Equations What we ll do: Lecture Ordinary Differential Equations J. Chaudhry Department of Mathematics and Statistics University of New Mexico Review ODEs Single Step Methods Euler s method (st order accurate) Runge-Kutta

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Introduction: first order ODE We are given a function f(t,y) which describes a direction field in the (t,y) plane an initial point (t 0,y 0 ) We want to find a function

More information

Differential Equations

Differential Equations Differential Equations Definitions Finite Differences Taylor Series based Methods: Euler Method Runge-Kutta Methods Improved Euler, Midpoint methods Runge Kutta (2nd, 4th order) methods Predictor-Corrector

More information

1 Systems of First Order IVP

1 Systems of First Order IVP cs412: introduction to numerical analysis 12/09/10 Lecture 24: Systems of First Order Differential Equations Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore 1 Systems

More information

1 Error Analysis for Solving IVP

1 Error Analysis for Solving IVP cs412: introduction to numerical analysis 12/9/10 Lecture 25: Numerical Solution of Differential Equations Error Analysis Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore

More information

FORTRAN 77 Lesson 7. Reese Haywood Ayan Paul

FORTRAN 77 Lesson 7. Reese Haywood Ayan Paul FORTRAN 77 Lesson 7 Reese Haywood Ayan Paul 1 Numerical Integration A general all purpose Numerical Integration technique is the Trapezoidal Method. For most functions, this method is fast and accurate.

More information

2015 Holl ISU MSM Ames, Iowa. A Few Good ODEs: An Introduction to Modeling and Computation

2015 Holl ISU MSM Ames, Iowa. A Few Good ODEs: An Introduction to Modeling and Computation 2015 Holl Mini-Conference @ ISU MSM Ames, Iowa A Few Good ODEs: An Introduction to Modeling and Computation James A. Rossmanith Department of Mathematics Iowa State University June 20 th, 2015 J.A. Rossmanith

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations Initial value problems for ordinary differential equations Xiaojing Ye, Math & Stat, Georgia State University Spring 2019 Numerical Analysis II Xiaojing Ye, Math & Stat, Georgia State University 1 IVP

More information

8.1 Introduction. Consider the initial value problem (IVP):

8.1 Introduction. Consider the initial value problem (IVP): 8.1 Introduction Consider the initial value problem (IVP): y dy dt = f(t, y), y(t 0)=y 0, t 0 t T. Geometrically: solutions are a one parameter family of curves y = y(t) in(t, y)-plane. Assume solution

More information

Ordinary differential equation II

Ordinary differential equation II Ordinary Differential Equations ISC-5315 1 Ordinary differential equation II 1 Some Basic Methods 1.1 Backward Euler method (implicit method) The algorithm looks like this: y n = y n 1 + hf n (1) In contrast

More information

Solving Ordinary Differential equations

Solving Ordinary Differential equations Solving Ordinary Differential equations Taylor methods can be used to build explicit methods with higher order of convergence than Euler s method. The main difficult of these methods is the computation

More information

Ordinary Differential Equations I

Ordinary Differential Equations I Ordinary Differential Equations I CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations I 1 / 27 Theme of Last Three

More information

Solving Ordinary Differential Equations

Solving Ordinary Differential Equations Solving Ordinary Differential Equations Sanzheng Qiao Department of Computing and Software McMaster University March, 2014 Outline 1 Initial Value Problem Euler s Method Runge-Kutta Methods Multistep Methods

More information

Ordinary Differential Equations

Ordinary Differential Equations Chapter 13 Ordinary Differential Equations We motivated the problem of interpolation in Chapter 11 by transitioning from analzying to finding functions. That is, in problems like interpolation and regression,

More information

Runge-Kutta methods. With orders of Taylor methods yet without derivatives of f (t, y(t))

Runge-Kutta methods. With orders of Taylor methods yet without derivatives of f (t, y(t)) Runge-Kutta metods Wit orders of Taylor metods yet witout derivatives of f (t, y(t)) First order Taylor expansion in two variables Teorem: Suppose tat f (t, y) and all its partial derivatives are continuous

More information

Chapter 6 - Ordinary Differential Equations

Chapter 6 - Ordinary Differential Equations Chapter 6 - Ordinary Differential Equations 7.1 Solving Initial-Value Problems In this chapter, we will be interested in the solution of ordinary differential equations. Ordinary differential equations

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 6 Chapter 20 Initial-Value Problems PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Calculus for the Life Sciences

Calculus for the Life Sciences Improved Calculus for the Life Sciences ntial Equations Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 6 Chapter 20 Initial-Value Problems PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations We call Ordinary Differential Equation (ODE) of nth order in the variable x, a relation of the kind: where L is an operator. If it is a linear operator, we call the equation

More information

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by 1. QUESTION (a) Given a nth degree Taylor polynomial P n (x) of a function f(x), expanded about x = x 0, write down the Lagrange formula for the truncation error, carefully defining all its elements. How

More information

Math 215/255 Final Exam (Dec 2005)

Math 215/255 Final Exam (Dec 2005) Exam (Dec 2005) Last Student #: First name: Signature: Circle your section #: Burggraf=0, Peterson=02, Khadra=03, Burghelea=04, Li=05 I have read and understood the instructions below: Please sign: Instructions:.

More information

Introduction to the Numerical Solution of IVP for ODE

Introduction to the Numerical Solution of IVP for ODE Introduction to the Numerical Solution of IVP for ODE 45 Introduction to the Numerical Solution of IVP for ODE Consider the IVP: DE x = f(t, x), IC x(a) = x a. For simplicity, we will assume here that

More information

Ordinary Differential Equations I

Ordinary Differential Equations I Ordinary Differential Equations I CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations I 1 / 32 Theme of Last Few

More information

Mathematics for chemical engineers. Numerical solution of ordinary differential equations

Mathematics for chemical engineers. Numerical solution of ordinary differential equations Mathematics for chemical engineers Drahoslava Janovská Numerical solution of ordinary differential equations Initial value problem Winter Semester 2015-2016 Outline 1 Introduction 2 One step methods Euler

More information

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester HIGHER ORDER METHODS School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 HIGHER ORDER METHODS 3 MULTISTEP METHODS 4 SUMMARY OUTLINE 1 REVIEW 2 HIGHER ORDER METHODS 3 MULTISTEP METHODS 4 SUMMARY OUTLINE

More information

Ordinary differential equations - Initial value problems

Ordinary differential equations - Initial value problems Education has produced a vast population able to read but unable to distinguish what is worth reading. G.M. TREVELYAN Chapter 6 Ordinary differential equations - Initial value problems In this chapter

More information

Outline Calculus for the Life Sciences II. Pollution in a Lake 1. Introduction. Lecture Notes Numerical Methods for Differential Equations

Outline Calculus for the Life Sciences II. Pollution in a Lake 1. Introduction. Lecture Notes Numerical Methods for Differential Equations Improved Improved Outline Calculus for the Life Sciences II tial Equations Joseph M. Mahaffy, mahaffy@math.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences

More information

Numerical solution of ODEs

Numerical solution of ODEs Numerical solution of ODEs Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology November 5 2007 Problem and solution strategy We want to find an approximation

More information

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-71309 email: anita.buie@gmail.com 1 . Chapter 8 Numerical Solution of

More information

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 28 PART II Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 29 BOUNDARY VALUE PROBLEMS (I) Solving a TWO

More information

Multistage Methods I: Runge-Kutta Methods

Multistage Methods I: Runge-Kutta Methods Multistage Methods I: Runge-Kutta Methods Varun Shankar January, 0 Introduction Previously, we saw that explicit multistep methods (AB methods) have shrinking stability regions as their orders are increased.

More information

Math 660 Lecture 4: FDM for evolutionary equations: ODE solvers

Math 660 Lecture 4: FDM for evolutionary equations: ODE solvers Math 660 Lecture 4: FDM for evolutionary equations: ODE solvers Consider the ODE u (t) = f(t, u(t)), u(0) = u 0, where u could be a vector valued function. Any ODE can be reduced to a first order system,

More information

Section 7.4 Runge-Kutta Methods

Section 7.4 Runge-Kutta Methods Section 7.4 Runge-Kutta Methods Key terms: Taylor methods Taylor series Runge-Kutta; methods linear combinations of function values at intermediate points Alternatives to second order Taylor methods Fourth

More information

Introduction to standard and non-standard Numerical Methods

Introduction to standard and non-standard Numerical Methods Introduction to standard and non-standard Numerical Methods Dr. Mountaga LAM AMS : African Mathematic School 2018 May 23, 2018 One-step methods Runge-Kutta Methods Nonstandard Finite Difference Scheme

More information

NUMERICAL SOLUTION OF ODE IVPs. Overview

NUMERICAL SOLUTION OF ODE IVPs. Overview NUMERICAL SOLUTION OF ODE IVPs 1 Quick review of direction fields Overview 2 A reminder about and 3 Important test: Is the ODE initial value problem? 4 Fundamental concepts: Euler s Method 5 Fundamental

More information

Applied Math for Engineers

Applied Math for Engineers Applied Math for Engineers Ming Zhong Lecture 15 March 28, 2018 Ming Zhong (JHU) AMS Spring 2018 1 / 28 Recap Table of Contents 1 Recap 2 Numerical ODEs: Single Step Methods 3 Multistep Methods 4 Method

More information

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9 Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T. Heath Chapter 9 Initial Value Problems for Ordinary Differential Equations Copyright c 2001. Reproduction

More information

CS520: numerical ODEs (Ch.2)

CS520: numerical ODEs (Ch.2) .. CS520: numerical ODEs (Ch.2) Uri Ascher Department of Computer Science University of British Columbia ascher@cs.ubc.ca people.cs.ubc.ca/ ascher/520.html Uri Ascher (UBC) CPSC 520: ODEs (Ch. 2) Fall

More information

ACCELERATION OF RUNGE-KUTTA INTEGRATION SCHEMES

ACCELERATION OF RUNGE-KUTTA INTEGRATION SCHEMES ACCELERATION OF RUNGE-KUTTA INTEGRATION SCHEMES PHAILAUNG PHOHOMSIRI AND FIRDAUS E. UDWADIA Received 24 November 2003 A simple accelerated third-order Runge-Kutta-type, fixed time step, integration scheme

More information

DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science

DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science ANSWERS OF THE TEST NUMERICAL METHODS FOR DIFFERENTIAL EQUATIONS ( WI3097 TU AESB0 ) Thursday April 6

More information

Numerical Solution of Fuzzy Differential Equations

Numerical Solution of Fuzzy Differential Equations Applied Mathematical Sciences, Vol. 1, 2007, no. 45, 2231-2246 Numerical Solution of Fuzzy Differential Equations Javad Shokri Department of Mathematics Urmia University P.O. Box 165, Urmia, Iran j.shokri@mail.urmia.ac.ir

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Michael H. F. Wilkinson Institute for Mathematics and Computing Science University of Groningen The Netherlands December 2005 Overview What are Ordinary Differential Equations

More information

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Initial Value Problems

Initial Value Problems Chapter 2 Initial Value Problems 21 Introduction The first part of this introduction is based on [5, Chap 6] The rest of the notes mostly follow [1, Chap 12] The growth of some tumours can be modelled

More information

INTRODUCTION TO COMPUTER METHODS FOR O.D.E.

INTRODUCTION TO COMPUTER METHODS FOR O.D.E. INTRODUCTION TO COMPUTER METHODS FOR O.D.E. 0. Introduction. The goal of this handout is to introduce some of the ideas behind the basic computer algorithms to approximate solutions to differential equations.

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 9 Initial Value Problems for Ordinary Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign

More information

Lesson 4: Population, Taylor and Runge-Kutta Methods

Lesson 4: Population, Taylor and Runge-Kutta Methods Lesson 4: Population, Taylor and Runge-Kutta Methods 4.1 Applied Problem. Consider a single fish population whose size is given by x(t). The change in the size of the fish population over a given time

More information

Runge-Kutta and Collocation Methods Florian Landis

Runge-Kutta and Collocation Methods Florian Landis Runge-Kutta and Collocation Methods Florian Landis Geometrical Numetric Integration p.1 Overview Define Runge-Kutta methods. Introduce collocation methods. Identify collocation methods as Runge-Kutta methods.

More information

AN OVERVIEW. Numerical Methods for ODE Initial Value Problems. 1. One-step methods (Taylor series, Runge-Kutta)

AN OVERVIEW. Numerical Methods for ODE Initial Value Problems. 1. One-step methods (Taylor series, Runge-Kutta) AN OVERVIEW Numerical Methods for ODE Initial Value Problems 1. One-step methods (Taylor series, Runge-Kutta) 2. Multistep methods (Predictor-Corrector, Adams methods) Both of these types of methods are

More information

Introduction to Initial Value Problems

Introduction to Initial Value Problems Chapter 2 Introduction to Initial Value Problems The purpose of this chapter is to study the simplest numerical methods for approximating the solution to a first order initial value problem (IVP). Because

More information

Do not turn over until you are told to do so by the Invigilator.

Do not turn over until you are told to do so by the Invigilator. UNIVERSITY OF EAST ANGLIA School of Mathematics Main Series UG Examination 216 17 INTRODUCTION TO NUMERICAL ANALYSIS MTHE612B Time allowed: 3 Hours Attempt QUESTIONS 1 and 2, and THREE other questions.

More information

Higher Order Taylor Methods

Higher Order Taylor Methods Higher Order Taylor Methods Marcelo Julio Alvisio & Lisa Marie Danz May 6, 2007 Introduction Differential equations are one of the building blocks in science or engineering. Scientists aim to obtain numerical

More information

Variable Step Size Differential Equation Solvers

Variable Step Size Differential Equation Solvers Math55: Differential Equations 1/30 Variable Step Size Differential Equation Solvers Jason Brewer and George Little Introduction The purpose of developing numerical methods is to approximate the solution

More information

On interval predictor-corrector methods

On interval predictor-corrector methods DOI 10.1007/s11075-016-0220-x ORIGINAL PAPER On interval predictor-corrector methods Andrzej Marcinia 1,2 Malgorzata A. Janowsa 3 Tomasz Hoffmann 4 Received: 26 March 2016 / Accepted: 3 October 2016 The

More information

2 Numerical Methods for Initial Value Problems

2 Numerical Methods for Initial Value Problems Numerical Analysis of Differential Equations 44 2 Numerical Methods for Initial Value Problems Contents 2.1 Some Simple Methods 2.2 One-Step Methods Definition and Properties 2.3 Runge-Kutta-Methods 2.4

More information

Lecture IV: Time Discretization

Lecture IV: Time Discretization Lecture IV: Time Discretization Motivation Kinematics: continuous motion in continuous time Computer simulation: Discrete time steps t Discrete Space (mesh particles) Updating Position Force induces acceleration.

More information

9.2 Euler s Method. (1) t k = a + kh for k = 0, 1,..., M where h = b a. The value h is called the step size. We now proceed to solve approximately

9.2 Euler s Method. (1) t k = a + kh for k = 0, 1,..., M where h = b a. The value h is called the step size. We now proceed to solve approximately 464 CHAP. 9 SOLUTION OF DIFFERENTIAL EQUATIONS 9. Euler s Method The reader should be convinced that not all initial value problems can be solved explicitly, and often it is impossible to find a formula

More information

EXAMPLE OF ONE-STEP METHOD

EXAMPLE OF ONE-STEP METHOD EXAMPLE OF ONE-STEP METHOD Consider solving y = y cos x, y(0) = 1 Imagine writing a Taylor series for the solution Y (x), say initially about x = 0. Then Y (h) = Y (0) + hy (0) + h2 2 Y (0) + h3 6 Y (0)

More information

Numerical Methods for Differential Equations

Numerical Methods for Differential Equations Numerical Methods for Differential Equations Chapter 2: Runge Kutta and Linear Multistep methods Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the

More information

Integration of Ordinary Differential Equations

Integration of Ordinary Differential Equations Integration of Ordinary Differential Equations Com S 477/577 Nov 7, 00 1 Introduction The solution of differential equations is an important problem that arises in a host of areas. Many differential equations

More information

CS 257: Numerical Methods

CS 257: Numerical Methods CS 57: Numerical Methods Final Exam Study Guide Version 1.00 Created by Charles Feng http://www.fenguin.net CS 57: Numerical Methods Final Exam Study Guide 1 Contents 1 Introductory Matter 3 1.1 Calculus

More information

1.1. Bacteria Reproduce like Rabbits. (a) A differential equation is an equation. a function, and both the function and its

1.1. Bacteria Reproduce like Rabbits. (a) A differential equation is an equation. a function, and both the function and its G NAGY ODE January 7, 2018 1 11 Bacteria Reproduce like Rabbits Section Objective(s): Overview of Differential Equations The Discrete Equation The Continuum Equation Summary and Consistency 111 Overview

More information

Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS

Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS The general form of a first order differential equations is = f(x, y) with initial condition y(a) = y a We seek the solution y = y(x) for x > a This is shown

More information

Second Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177

Second Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177 Second Order ODEs Often physical or biological systems are best described by second or higher-order ODEs. That is, second or higher order derivatives appear in the mathematical model of the system. For

More information

CHAPTER 10: Numerical Methods for DAEs

CHAPTER 10: Numerical Methods for DAEs CHAPTER 10: Numerical Methods for DAEs Numerical approaches for the solution of DAEs divide roughly into two classes: 1. direct discretization 2. reformulation (index reduction) plus discretization Direct

More information

First Order Systems of Linear Equations. or ODEs of Arbitrary Order

First Order Systems of Linear Equations. or ODEs of Arbitrary Order First Order Systems of Linear Equations or ODEs of Arbitrary Order Systems of Equations Relate Quantities Examples Predator-Prey Relationships r 0 = r (100 f) f 0 = f (r 50) (Lokta-Volterra Model) Systems

More information

Differential Equations. Lectures INF2320 p. 1/64

Differential Equations. Lectures INF2320 p. 1/64 Differential Equations Lectures INF2320 p. 1/64 Lectures INF2320 p. 2/64 Differential equations A differential equations is: an equations that relate a function to its derivatives in such a way that the

More information

1 Ordinary Differential Equations

1 Ordinary Differential Equations Ordinary Differential Equations.0 Mathematical Background.0. Smoothness Definition. A function f defined on [a, b] is continuous at ξ [a, b] if lim x ξ f(x) = f(ξ). Remark Note that this implies existence

More information

Differential Equations

Differential Equations Pysics-based simulation xi Differential Equations xi+1 xi xi+1 xi + x x Pysics-based simulation xi Wat is a differential equation? Differential equations describe te relation between an unknown function

More information

Physics 584 Computational Methods

Physics 584 Computational Methods Physics 584 Computational Methods Introduction to Matlab and Numerical Solutions to Ordinary Differential Equations Ryan Ogliore April 18 th, 2016 Lecture Outline Introduction to Matlab Numerical Solutions

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Ordinary Differential Equations (ODEs) NRiC Chapter 16. ODEs involve derivatives wrt one independent variable, e.g. time t. ODEs can always be reduced to a set of firstorder equations (involving only first

More information

Ordinary differential equations. Phys 420/580 Lecture 8

Ordinary differential equations. Phys 420/580 Lecture 8 Ordinary differential equations Phys 420/580 Lecture 8 Most physical laws are expressed as differential equations These come in three flavours: initial-value problems boundary-value problems eigenvalue

More information

Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability.

Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. REVIEW: We start with the differential equation dy(t) dt = f (t, y(t)) (1.1) y(0) = y 0 This equation can be

More information

Fourth Order RK-Method

Fourth Order RK-Method Fourth Order RK-Method The most commonly used method is Runge-Kutta fourth order method. The fourth order RK-method is y i+1 = y i + 1 6 (k 1 + 2k 2 + 2k 3 + k 4 ), Ordinary Differential Equations (ODE)

More information

A Brief Introduction to Numerical Methods for Differential Equations

A Brief Introduction to Numerical Methods for Differential Equations A Brief Introduction to Numerical Methods for Differential Equations January 10, 2011 This tutorial introduces some basic numerical computation techniques that are useful for the simulation and analysis

More information

CHAPTER 12 Numerical Solution of Differential Equations

CHAPTER 12 Numerical Solution of Differential Equations CHAPTER 12 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Ordinary Differential Equations (ODEs) 1 Computer Simulations Why is computation becoming so important in physics? One reason is that most of our analytical tools such as differential calculus are best

More information

Math Numerical Analysis Homework #4 Due End of term. y = 2y t 3y2 t 3, 1 t 2, y(1) = 1. n=(b-a)/h+1; % the number of steps we need to take

Math Numerical Analysis Homework #4 Due End of term. y = 2y t 3y2 t 3, 1 t 2, y(1) = 1. n=(b-a)/h+1; % the number of steps we need to take Math 32 - Numerical Analysis Homework #4 Due End of term Note: In the following y i is approximation of y(t i ) and f i is f(t i,y i ).. Consider the initial value problem, y = 2y t 3y2 t 3, t 2, y() =.

More information

Systems of Ordinary Differential Equations

Systems of Ordinary Differential Equations Systems of Ordinary Differential Equations Systems of ordinary differential equations Last two lectures we have studied models of the form y (t) F (y), y(0) y0 (1) this is an scalar ordinary differential

More information

Numerical methods for solving ODEs

Numerical methods for solving ODEs Chapter 2 Numerical methods for solving ODEs We will study two methods for finding approximate solutions of ODEs. Such methods may be used for (at least) two reasons the ODE does not have an exact solution

More information

Module 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008

Module 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008 Outlines Module 4: for ODE Part I: Basic Part II: Advanced Lehrstuhl Informatik V Winter 2007/2008 Part I: Basic 1 Direction Fields 2 Euler s Method Outlines Part I: Basic Part II: Advanced 3 Discretized

More information

Math 252 Fall 2002 Supplement on Euler s Method

Math 252 Fall 2002 Supplement on Euler s Method Math 5 Fall 00 Supplement on Euler s Method Introduction. The textbook seems overly enthusiastic about Euler s method. These notes aim to present a more realistic treatment of the value of the method and

More information

Lecture V: The game-engine loop & Time Integration

Lecture V: The game-engine loop & Time Integration Lecture V: The game-engine loop & Time Integration The Basic Game-Engine Loop Previous state: " #, %(#) ( #, )(#) Forces -(#) Integrate velocities and positions Resolve Interpenetrations Per-body change

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 5 Chapter 21 Numerical Differentiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University 1 All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Solving Delay Differential Equations (DDEs) using Nakashima s 2 Stages 4 th Order Pseudo-Runge-Kutta Method

Solving Delay Differential Equations (DDEs) using Nakashima s 2 Stages 4 th Order Pseudo-Runge-Kutta Method World Applied Sciences Journal (Special Issue of Applied Math): 8-86, 3 ISSN 88-495; IDOSI Publications, 3 DOI:.589/idosi.wasj.3..am.43 Solving Delay Differential Equations (DDEs) using Naashima s Stages

More information