Study of Numerical Accuracy of Runge-Kutta Second, Third and Fourth Order Method

Size: px
Start display at page:

Download "Study of Numerical Accuracy of Runge-Kutta Second, Third and Fourth Order Method"

Transcription

1 Study of Numerical Accuracy of Runge-Kutta Second, Third and Fourth Order Method Najmuddin Ahmad, Shiv Charan,Vimal Partap Singh Department of Mathematics, Integral University, Lucknow Abstract : We have considered ten ordinary differential equation of first order with boundary condition. These equations have been solved by Heun s method, Runge Kutta third order method and by Runge Kutta fourth order method in the interval [ 0, 1 ] by dividing the interval into 200 parts with the help of MATLAB by us. At each point of the interval we have calculated the value of y and compared it with its exact value at that point. Error in the value of y is the difference between calculated and exact values. Percentage error has also been calculated at each point of the intervals. Comparison of the results of the of the Heun s method, Runge Kutta third order method and by Runge Kutta fourth order method shows that Runge Kutta fourth order method is better in all the cases. Mean of the results for all differential equations shows Runge Kutta fourth order method is times better than Runge Kutta second order method ( Heun s method ) and, Runge Kutta third order method. Introduction : In mathematics and computational science, Heun s method ( also called the modified Euler s method or the explicit trapezoidal rule ), named after Karl L. W. M. Heun, is a numerical procedure for solving ordinary differential equations (ODEs) with a given initial. It can be seen as an extension of the Euler method into a two stage second order Runge Kutta. Heun s Method is used to generate a numerical solution to an initial value problem of the form : =f ( x,y ) with the boundary conditions y( ) =. Heun s Method was an improvement over the rather simple Euler Method, and that though it uses Euler s method as a basic, it attempting to compensate for the Euler Method s failure to take the curvature of the solution curve into account. Heun s Method is one of the simplest of a class of method called predictor Corrector algorithms. One of the most powerful predictor Corrector algorithms of all one which is so accurate, that most computer packages designed to find numerical solutions for differential equations will use it by default the fourth order Runge Kutta. The Runge Kutta is a little hard to follow even when one only considers it from a geometric point of view. In reality the formula was not originally derived in this fashion, but with a purely analytical approach. After all, among other things, our geometric explanation doesn t even account for the weights that were used. Numerical ordinary differential is part of numerical analysis which studies the numerical solution of ordinary differential equations (ODEs).This field is also known under the name numerical integration, but some people reserve this term for the computation of integrals. Many differential equations cannot be solved analytically, in which case we have to satisfy ourselves with an approximation to the solution. The algorithms studied here can be used to compute such an approximation. An alternative method is to use techniques from calculus to obtain a series expansion of the solution. Ordinary differential occur in many scientific disciplines, for instance in mechanics, chemistry, biology and economics. In addition, some methods in numerical partial differential equation convert the partial differential equation into an ordinary differential equation, which must then be. We have restricted ourselves to first order differential equations. However, a higher order equation can easily be converted to a system of first order equations by introducing extra. 111

2 112 International Journal of Computer & Mathematical Sciences The proper numerical modeling method heavily depends on the situation, the available resources, and the desired accuracy of the result. If only a quick estimate of a differential equation is required, the Euler method may provide the simplest solution. If much higher accuracy is required, a fifth order Runge Kutta method may be. In all numerical models, as the step size is decreased, the accuracy of the model is increased. The tradeoff here is that smaller step sizes require more computation and therefore increase the amount of time to obtain a solution. A balance between desired accuracy and time required for producing an answer can be achieved by selecting an appropriate step size. One suggested algorithm for selecting a suitable step size is to produce models using two different. the steps size can then be systematically cut in half until the difference between both model is acceptably small creating an error tolerance ). ( effectively Objective : We have considered ten differential equations with initial condition. We have developed MATLAB to solve them to get exact value and approximated value by Heun s method and Runge Kutta fourth order method. We have then compared the accuracy of the results obtained by Heun s method and by Runge Kutta fourth order method. We have also studied that whether the accuracy obtained by Runge Kutta fourth order method can be achieved by Heun s method by increasing the number of intervals. Differential equations under study are given below 1. dy/dx = x + y ; y = 1 when x = 0 2. dy/dx = y - x ; y = 2 when x = 0 3. dy/dx = - 2x ; y = 1 when x = 0 4. dy/dx = x + y + 1 ; y = 1 when x = 0 5. dy/dx = -x + y + 1 ; y = 1 when x = 0 6. dy/dx = (1 + x) x ; y = 1 when x = 0 7. dy/dx = (1 + x) /2 ; y = 1 when x = 0 8. dy/dx = ; y = 1 when x = 0 9. dy/dx = - y ; y = 1 when x = dy/dx = 1 + y ; y = 1 when x = 0 With the help of computer programs, we have calculated the value of y, exact value of y, difference between calculated and exact value of y and percentage error in the value of y. We have calculated the values of y in the interval [ 0,1 ] by assuming the step size of Percentage error in the value of y is defined as = 100 We have also performed multi linear regression ( MLR ) analysis between the value of x and the percentage error in the value y with the help of CAChe Software of Fujitsu. MLR equation is of the form = m * x + n, rcv 2=p, r 2 =q where is the percentage error in the value of y, rcv 2 is the cross validation coefficient, r 2 is the regression coefficient, m, n, p, q R. Predictive power of the regression equation depends on the value of cross validation and regression coefficients. A regression equation is said to possess a good predictive power if the value of cross validation coefficient is greater than 0.2 and the value of regression coefficient is greater than 0.5. As the value of regression coefficient increase, the predictive power of the regression equation increase. The maximum value of regression coefficient may by unity and in this case the regression equation possesses 100% predictive power. Methodology : Second order Runge Kutta Method - the fourth order Runge Kutta method is one of the standard algorithm to solve differential equations. Before we give the algorithm of the fourth order Runge Kutta

3 method we will drive the second order Runge Kutta method. WE start with the original differential equation and integrate it formally = f ( t, y ) y ( t ) = = + = + We essentially changed the task at hand from performing a differentiation to an integration. To do this we expend f( t ) in a second order Taylor series around the midpoint of the integration subinterval f ( t, y ) f (, ) + ( t - ).. (1) Yet since the integral of ( t - ) vanishes when evaluate about the midpoint, we automatically get improved precision using only the first term in (1) f ( t, y ) f (, ) + h f (, ) = + h f (, ) This algorithm cannot be applied immediately since it requires a knowledge of which is not in the scheme of things. We thus approximate with Euler s algorithm. + t = + + h f + = h f = h f The second order Runge Kutta algorithm (2) requires the known derivative function f at the endpoint and midpoint of the interval, and the unknown function y at the previous point. Since we start with initial condition, the algorithm is self starting. Note too that it is applicable with a general function f ( for example nonlinear ), and simple to. In numerical analysis, the Runge Kutta methods are an important family of implicit and explicit iterative methods for the approximation of solution of ordinary differential. These techniques were developed around 1900 by the German mathematicians Runge and Kutta. The Classical Fourth Order Runge Kutta Method - One member of family of Runge Kutta methods is so commonly used, that it is often referred to as RK4 or simply as the Runge Kutta. Let an initial value problem be specified as follows 113

4 = f ( t, y ), y =. Then, the RK4 method for this problem is given by the following equation : = + where = f (, ), = f, = f, = f (, ). Thus, the next value ( ) is determined by the present value ( plus the product of the size of the interval (h) and an estimated slope. The slope is a weighted average of slopes : is the slope at the beginning of the interval ; is the slope at the midpoint of the interval, using slope to determine the value of y at the point using Euler s method ; is again the slope at the midpoint, but now using the slope to determine the y value ; is the slope at the end of the interval, with its y value determined using. When the four slopes are averaged, more weight is given to the slope at the slope = the RK4 method is a fourth order method, meaning that the error per step is on the order of, while the total accumulated error has order. Above formulas are valid for both scalar and vector valued function ( y can be a vector ). Result and Discussions : Solution of Differential equation = x + y with boundary condition x = 0, y = 1 by Heun s method Differential equation is given by = x + y ; x = 0, y = 1. Exact solution of this differential equation is given by x + y + 1 = 2 We have solved this differential equation by Heun s method with the computer program given in the methodology at different values in the interval [ 0, 1 ] by talking the step size of Value of x, calculated value of y, exact value of y, difference between calculated and exact value of y and percentage error in the value of y are shown in the Table 1. This Table indicates that the percentage error in the value of y increases as the value of x increases. The maximum percentage error is at x = 1. Graph between calculated value of y by Heun s method and exact value of y is shown in the graph 1. As the maximum error in the value of y is only , the curves of calculated and exact values of y coincide. Difference between calculated and exact values of y at different values of x for the differential equation is shown in the Graph 2. The shape of this curve is similar to a parabola. Graph 3 shows the percentage error in the value of y at different values of x for the different equation. We have also performed multilinear regression ( MLR ) analysis between the values of x and the percentage error in the value y with the help of CAChe Software of Fujitsu. MLR equation is given below P = *x e

5 115 International Journal of Computer & Mathematical Sciences rcv 2 = r 2 = where P is the percentage error in the value of y, rcv 2 is the cross validation coefficient, r 2 is the regression coefficient. Predictive power of the regression equation depends on the value of cross validation and regression coefficient. A regression equation is said to possess a good predictive power if the value of cross validation coefficient is greater than 0.2 and the value of regression coefficient is greater than 0.5 A the value of regression coefficient increase the predictive power of the regression equation increases. The maximum value of regression coefficient may by unity and in this case the regression equation possesses 100% predictive power. Here, the value of regression coefficient is which indicates that the regression equation has very good predictive power. Conclusions : We have calculated the percentage error at each point of the interval [ 0, 1 ] by dividing it in 200 equal parts for each differential equation using RUnge Kutta second order method and Runge Kutta fourth order method. Average percentage error has been calculated by the formula. Average percentage error = Sum of percentage error at each point of the interval / 200. In each differential equation, the average percentage error in Runge Kutta fourth order method is very low as compared to Runge Kutta second method. Accuracy of Runge Kutta fourth order method over Runge Kutta second order method has been defined by the factor Ä define as Ä = average percentage error in Runge Kutta second order method / average percentage error in Runge Kutta fourth order method. Table 3 includes average percentage error in Runge Kutta second order method ( Heun s method ), average percentage error in Runge Kutta fourth order method and accuracy factor ( Ä ) for each differential equation. A references to Table 3 indicades that In differential equation = x + y ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = y - x ; y = 2, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = -2x ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = x + y + 1 ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation =- x + y + 1 ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is

6 In differential equation = ( 1 + x )x ; y = 1, x = 0 ; the average percentage error in Heun s method is , the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = ( 1 + x ) /2 ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = ; y = -1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = - y ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is In differential equation = 1 + y ; y = 1, x = 0 ; the average percentage error in Heun s method is ,, the average percentage error in Runge Kutta third order method is and the average percentage error in Runge Kutta fourth order method is Table 1 : Average Percentage Error in Runge Kutta Second Order Method ( Heun s method ), Average Percentage Error in Runge Kutta Fourth Order Method and Factor ( Ä ) for Each Differential Equation. S. No. Differential Equation Average Percentage Error in Heun s Metod Average Percetage Error in Runge Kutta third Order Method Average Percetage Error in Runge Kutta third Order Method 1 dy/dx = x + y ; y = 1, x = dy/dx = y - x ; y = 2, x = dy/dx = - 2x ; y = 1, x = dy/dx = x+y+1 ; y = 1, x = dy / dx = -x+y+1; y = 1, x = (1 + x) x ; y = 1, x = (1 + x) /2; y = 1, x = dy/dx = ; y = -1, x = dy / dx = - y ; y = 1, x = dy / dx = 1+ y; y = 1, x =

7 References : 1. Bogacki, P. and Shampine, L. F. (1996) : Efficient Runge Kutta ( 4,5 ) Pair Source :Computers and Mathematics with Application, Vol. 32, No. 6, pp 15-28, Compendex. 2. Butcher. J. C. (1965) : A Modified Multistep Method for the Numerical Integration of Ordinary Differential Equation. Journal of the ACM, Vol. 12 (1),pp Calvo, M.; Montijano, J. I. and Randeg, L. (1990) : New Continuous Extensions for Fifth Order RK Formulas. Rev. Acad. Cienc. Zaragoza (2) 45, pp 69-81, Math. Sci. Net. 4. Cockburn. B. and Shu, C.W. ( 1989) : TVB Runge Kutta Local Projection Discontinuous Galerkinnite Element Method for Conservation Laws. ΙΙ.General Framework. Math. Comp., Vol. 52 No. 186, pp Cotiu, A. (1962) : Delimitation of the error in Fehlberg s Procedure of Numerical Integration of first Order Differential Equations. ( Romanian ). Studia Univ. Babes Bolyai Ser. Math. Phys. Vol. 7, No. 2, pp 37 43, Math. Sci. Net. 6. Daniel Okunbor and Robert D. Skeel ( 1992) : An Explicit Runge Kutta Nystrom Method is Canonical If and Only If Its Adjoint is Explicit. SIAM Journal on Numerical Analysis, Vol. 29, No.2, pp , Jstor. Dekker, K. and Verwer, J. G. ( 1984) : Stability of Runge Kutta Methods for Nonlinear Differential Equations, Vol. 2 of CWI Monografhas. North Holland Publishing Co. ( Amsterdam ). England, R. (1968 ) : Error Estimates for Runge Kutta Solutions to Systems of Ordinary Differential Equations. Research and Development Department, Pressed Steel Fisher Ltd., Cowley, Oxford, U. K. Ernst Hairer, Syvert Paul Norsett and Gerhard Wanner (1993 ) : Solving Ordinary Differential Equations Ι : Nonstiff Problems, Second Edition, Springer Verlag, Berlin, ISBN Fredebeul, C. ; Kornmair, D. and Muller, M. W. ( 2002 ) : Multiple Order Double Output Runge Kutta Fehlberg Formulae : Strategies for Efficient Application. Journal of Computational and Applied Mathematics, Vol. 144, No. 1 2, pp George D. Byrne and Robert J. Lambert ( 1966 ) : Pseudo Runge Kutta Methods Involving two points. Journal of the ACM, Vol. 13 ( 1 ), pp George, E. Forsythe ; Michael A. Malcolm and Cleve B. ( 1977 ) Moler Computer Methods for Mathematical Computations. Englewood Cliffs, NJ : Prentice Hall.Gerisch, A. and Weiner R. ( 2003 ) : The Positivity of Low Order Explicit Runge Kutta Schemes Applied in Splitting Methods. Comput. Math.Appl., Vol. 45 No. 1 3, pp Hairer, E. ; Narsett, S. P. and Wanner, G. ( 1993 ) : Solving Ordinary Differential Equations. Ι. Nonstiff problems, Vol. 8 of Springer Series in Computational Mathematics. Springer Verlag ( Berlin ), Second Ed. 11. Hundsdofer, W. and Verwer, J. G. ( 2003 ) : Numerical Solution of Timedependent Advection Diffusion Reaction Equations, Vol. 33 of Springer Series in Computational Mathematics. Springer ( Berlin ). 12. Jain, R. K. and Jain, M. K. ( 1971 ) : Optimum Runge Kutta Fehlberg Methods for First Order Differential Equations. J. Inst. Math. Appl., Vol. 8, pp , Math. Sci. Net. John, W. ( 1958 ) : Carr, ΙΙΙ, Error Bounds for the Runge Kutta Single Step Integration Process, Journal of the ACM ( JACM ), Vol. 5 No. 1, pp Kaw, Autar ; Kalu, Egwu ( 2008 ) : Numerical Methods with Applications ( 1 st Ed. ), Kendall, E. Atkinson ( 1998 ) : An Introduction to Numerical Analysis. John Wiley & Sons. 15. Kharab, A. (1994 ) : Spreadsheet Solution to an initial Value Problem using the Runge Kutta Fehlberg Method. Computer Application in Engineering Education, Vol. 2, No. 2, pp , Compendex. 16. Kraaijevanger J. F. B. M. ( 1991 ) : Contractivity of Runge Kutta Methods. BIT, Vol. 31, No. 3, pp Ling, Xiang; Tu, Shan Tung ; Gong and Jain Ming ( 2000 ) : Application of Runge Kutta Merson Algorithm for Creep Damage Analysis. International Journal of Pressure Vessels and Piping, Vol. 77, No. 5, pp , Compendex. 18. Murugesan, K; Dhayabaran, D. Paul; Amiritharaj, E. C. Henry ; Evans, David J.( 2002 ) : A Fourth Order Embedded Runge Kutta RKACeM( 4, 4 ) Method Based on Arithmetic and Centroidal Means with Error Control. Int. J. Comput. Math., Vol. 79, No. 2, pp , Math. Sci. Net. 19. Numerical Methods in Physics, Chemistry and Engineering. Gottlieb S., Shu C. W. ( 1998 ) : Total Variation Diminishing Runge Kutta Schemes. Math. Comp., Vol. 67, No. 221, pp Pimenov, V. G. ( 2001 ) : General Linear Methods for the Numerical Solution of Functional Differential Equations, Differential Equations, Vol. 37, No Procedures of Runge Kutta Fehlberg Type with Error of Order 0, for the Approximation of First Order Integrodifferential Equations of Volterra Type. ( Romanian ) Micula, Maria Stud. Cerc. Mat., 25 (1973), pp 33 40, Math. Sci. Net. 117

8 22. Runge Kutta Fehlberg Type Procedure on Two Nodes for Numerical Integration of Systems Differential Equations. Dumitras, Daria Elena Automat. Comput. Appl. Math., Vol. 2, pp , Math. Sci. Net. 23. Ruuth, S. J. ( 2004 ) : Global optimization of Explicit Strong Stability preserving Runge Kutta Methods. Tech. Rep., Department of Mathematics Simon Fraser University. 24. Sideridis, A. B. and Simos, T. E. ( 1992 ) : A Low Order Embedded Runge Kutta Method for Periodic Initial Value Problems. J. Comput. Appl. Math., Vol. 44. No. 2, pp , Math. Sci. Net. 25. Simos, T. E., ( 1993 ) : A Runge Kutta Fehlberg Method with Phase Leg of Order Infinity for initial Value Problem with Oscillating Solution. Computers and Mathematics with Applicatons, Vol. 25, No. 6 pp Simos, T. E., ( 1995 ) : Modified Runge Kutta _ Fehlberg Methods for Periodic Initial Value Problems. Japan J. Indust. Appl. Math., Vol. 12, No. 1, pp , Math. Sci, Net. 27. Spiteri, R. J. and Ruuth, S. J. ( 2003 ) : Non Linear Evolution using Optimal Fourth Order Strong Stability Preserving Runge - Kutta Methods. Math. Comput. Simulation, Vol. 62, No. 1 2, pp Strogatz, S. H. ( 1994 ) : Nonlinear Dynamics and Chaos with Applications in Physics, Biology, Chemistry and Engineering. Perseus Books ( Reading, M. A. ). 29. Suchitra Gupta ( 1985 ) : An Adaptive Boundary Value Runge Kutta Solver for First Order Boundary Value Problems SIAM Journal on Numerical Analysis, Vol. 22, No. 1., pp Tavernini, L. ( 1971 ) : One step Methods for the Numerical Solution of Volterra Functional Differential Equations, SIAM J. Numer. Anal., Vol. 8, No Test results on Initial Value Methods for Non Stiff Ordinary Differential Equations W. H. Enright ; T. E. Hull SIAM Journal on Numerical Analysis, Vol. 13, No. 6. ( Dec., 1976 ), pp , Jstor. 32. The Runge Kutta Theory in a Nutshell Peter Albrecht SIAM Journal on Numerical Analysis, Vol. 33, No. 5. ( Oct., 1996 ), pp , Jstor. 33. Toro, E. F. ( 1999 ) : Riemann Solvers and Numerical Methods for Fluid Dynamics. A Practical Introducing. Springer Verlag ( Berlin ), Second Ed. 34. Verner, J. H. ( 1990 ) : A Contrast of Some Runge Kutta Formula Pairs SIAM Journal on Numerical Analysis, Vol. 27, No. 5, pp , Jstor. 35. Verner, J. H. ( 1991 ) : Some Runge Kutta Formula Pairs. SIAM J. Numer. Anal. Vol. 28, No. 2, pp , Math. Sci. Net. 36. Verner, J. H. ( 1996 ) : Higher Order Explicit Runge Kutta Pairs with Low Stage Order Applied Numerical Mathematics, Vol. 22, No. 1 3, pp , Compendex. William B. Gruttke ( 1970 ) : Pseudo Runge Kutta Methods of the Fifth order. Journal of the ACM, Vol. 17 ( 4 ), pp

Strong Stability of Singly-Diagonally-Implicit Runge-Kutta Methods

Strong Stability of Singly-Diagonally-Implicit Runge-Kutta Methods Strong Stability of Singly-Diagonally-Implicit Runge-Kutta Methods L. Ferracina and M. N. Spijker 2007, June 4 Abstract. This paper deals with the numerical solution of initial value problems, for systems

More information

A NOTE ON EXPLICIT THREE-DERIVATIVE RUNGE-KUTTA METHODS (ThDRK)

A NOTE ON EXPLICIT THREE-DERIVATIVE RUNGE-KUTTA METHODS (ThDRK) BULLETIN OF THE INTERNATIONAL MATHEMATICAL VIRTUAL INSTITUTE ISSN 303-4874 (p), ISSN (o) 303-4955 www.imvibl.org / JOURNALS / BULLETIN Vol. 5(015), 65-7 Former BULLETIN OF THE SOCIETY OF MATHEMATICIANS

More information

Study the Numerical Methods for Solving System of Equation

Study the Numerical Methods for Solving System of Equation Study the Numerical Methods for Solving System of Equation Ravi Kumar 1, Mr. Raj Kumar Duhan 2 1 M. Tech. (M.E), 4 th Semester, UIET MDU Rohtak 2 Assistant Professor, Dept. of Mechanical Engg., UIET MDU

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

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

A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS

A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS CANADIAN APPLIED MATHEMATICS QUARTERLY Volume 17, Number 3, Fall 2009 A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS SERGEY KHASHIN ABSTRACT. A new approach based on the use of new

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

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

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

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

Efficient path tracking methods

Efficient path tracking methods Efficient path tracking methods Daniel J. Bates Jonathan D. Hauenstein Andrew J. Sommese April 21, 2010 Abstract Path tracking is the fundamental computational tool in homotopy continuation and is therefore

More information

Exponential Integrators

Exponential Integrators Exponential Integrators John C. Bowman and Malcolm Roberts (University of Alberta) June 11, 2009 www.math.ualberta.ca/ bowman/talks 1 Outline Exponential Integrators Exponential Euler History Generalizations

More information

Investigation on the Most Efficient Ways to Solve the Implicit Equations for Gauss Methods in the Constant Stepsize Setting

Investigation on the Most Efficient Ways to Solve the Implicit Equations for Gauss Methods in the Constant Stepsize Setting Applied Mathematical Sciences, Vol. 12, 2018, no. 2, 93-103 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2018.711340 Investigation on the Most Efficient Ways to Solve the Implicit Equations

More information

arxiv: v1 [math.na] 31 Oct 2016

arxiv: v1 [math.na] 31 Oct 2016 RKFD Methods - a short review Maciej Jaromin November, 206 arxiv:60.09739v [math.na] 3 Oct 206 Abstract In this paper, a recently published method [Hussain, Ismail, Senua, Solving directly special fourthorder

More information

Southern Methodist University.

Southern Methodist University. Title: Continuous extensions Name: Lawrence F. Shampine 1, Laurent O. Jay 2 Affil./Addr. 1: Department of Mathematics Southern Methodist University Dallas, TX 75275 USA Phone: +1 (972) 690-8439 E-mail:

More information

Geometric Numerical Integration

Geometric Numerical Integration Geometric Numerical Integration (Ernst Hairer, TU München, winter 2009/10) Development of numerical ordinary differential equations Nonstiff differential equations (since about 1850), see [4, 2, 1] Adams

More information

A numerical study of SSP time integration methods for hyperbolic conservation laws

A numerical study of SSP time integration methods for hyperbolic conservation laws MATHEMATICAL COMMUNICATIONS 613 Math. Commun., Vol. 15, No., pp. 613-633 (010) A numerical study of SSP time integration methods for hyperbolic conservation laws Nelida Črnjarić Žic1,, Bojan Crnković 1

More information

Exponential Integrators

Exponential Integrators Exponential Integrators John C. Bowman (University of Alberta) May 22, 2007 www.math.ualberta.ca/ bowman/talks 1 Exponential Integrators Outline Exponential Euler History Generalizations Stationary Green

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

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations ECE257 Numerical Methods and Scientific Computing Ordinary Differential Equations Today s s class: Stiffness Multistep Methods Stiff Equations Stiffness occurs in a problem where two or more independent

More information

A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs

A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs ANALELE ŞTIINŢIFICE ALE UNIVERSITĂŢII AL.I. CUZA DIN IAŞI (S.N.) MATEMATICĂ, Tomul LVIII, 0, f. A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs BY R.I. OKUONGHAE Abstract.

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

MTH 452/552 Homework 3

MTH 452/552 Homework 3 MTH 452/552 Homework 3 Do either 1 or 2. 1. (40 points) [Use of ode113 and ode45] This problem can be solved by a modifying the m-files odesample.m and odesampletest.m available from the author s webpage.

More information

Extended Runge Kutta-like formulae

Extended Runge Kutta-like formulae Applied Numerical Mathematics 56 006 584 605 www.elsevier.com/locate/apnum Extended Runge Kutta-like formulae Xinyuan Wu a Jianlin Xia b a State Key Laboratory for Novel Software Technology Department

More information

The Milne error estimator for stiff problems

The Milne error estimator for stiff problems 13 R. Tshelametse / SAJPAM. Volume 4 (2009) 13-28 The Milne error estimator for stiff problems Ronald Tshelametse Department of Mathematics University of Botswana Private Bag 0022 Gaborone, Botswana. E-mail

More information

A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations

A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations Rei-Wei Song and Ming-Gong Lee* d09440@chu.edu.tw, mglee@chu.edu.tw * Department of Applied Mathematics/

More information

Optimal Implicit Strong Stability Preserving Runge Kutta Methods

Optimal Implicit Strong Stability Preserving Runge Kutta Methods Optimal Implicit Strong Stability Preserving Runge Kutta Methods David I. Ketcheson, Colin B. Macdonald, Sigal Gottlieb. August 3, 2007 Abstract Strong stability preserving (SSP) time discretizations were

More information

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Module No. # 07 Lecture No. # 05 Ordinary Differential Equations (Refer Slide

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

16.7 Multistep, Multivalue, and Predictor-Corrector Methods

16.7 Multistep, Multivalue, and Predictor-Corrector Methods 16.7 Multistep, Multivalue, and Predictor-Corrector Methods 747 } free_vector(ysav,1,nv); free_vector(yerr,1,nv); free_vector(x,1,kmaxx); free_vector(err,1,kmaxx); free_matrix(dfdy,1,nv,1,nv); free_vector(dfdx,1,nv);

More information

Backward error analysis

Backward error analysis Backward error analysis Brynjulf Owren July 28, 2015 Introduction. The main source for these notes is the monograph by Hairer, Lubich and Wanner [2]. Consider ODEs in R d of the form ẏ = f(y), y(0) = y

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

9.6 Predictor-Corrector Methods

9.6 Predictor-Corrector Methods SEC. 9.6 PREDICTOR-CORRECTOR METHODS 505 Adams-Bashforth-Moulton Method 9.6 Predictor-Corrector Methods The methods of Euler, Heun, Taylor, and Runge-Kutta are called single-step methods because they use

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

Improved Starting Methods for Two-Step Runge Kutta Methods of Stage-Order p 3

Improved Starting Methods for Two-Step Runge Kutta Methods of Stage-Order p 3 Improved Starting Methods for Two-Step Runge Kutta Methods of Stage-Order p 3 J.H. Verner August 3, 2004 Abstract. In [5], Jackiewicz and Verner derived formulas for, and tested the implementation of two-step

More information

Stepsize Restrictions for Boundedness and Monotonicity of Multistep Methods

Stepsize Restrictions for Boundedness and Monotonicity of Multistep Methods Stepsize Restrictions for Boundedness and Monotonicity of Multistep Methods W. Hundsdorfer, A. Mozartova, M.N. Spijker Abstract In this paper nonlinear monotonicity and boundedness properties are analyzed

More information

Graded Project #1. Part 1. Explicit Runge Kutta methods. Goals Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo

Graded Project #1. Part 1. Explicit Runge Kutta methods. Goals Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo 2008-11-07 Graded Project #1 Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo This homework is due to be handed in on Wednesday 12 November 2008 before 13:00 in the post box of the numerical

More information

16.7 Multistep, Multivalue, and Predictor-Corrector Methods

16.7 Multistep, Multivalue, and Predictor-Corrector Methods 740 Chapter 16. Integration of Ordinary Differential Equations 16.7 Multistep, Multivalue, and Predictor-Corrector Methods The terms multistepand multivaluedescribe two different ways of implementing essentially

More information

Strong Stability Preserving Properties of Runge Kutta Time Discretization Methods for Linear Constant Coefficient Operators

Strong Stability Preserving Properties of Runge Kutta Time Discretization Methods for Linear Constant Coefficient Operators Journal of Scientific Computing, Vol. 8, No., February 3 ( 3) Strong Stability Preserving Properties of Runge Kutta Time Discretization Methods for Linear Constant Coefficient Operators Sigal Gottlieb

More information

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations Sunyoung Bu University of North Carolina Department of Mathematics CB # 325, Chapel Hill USA agatha@email.unc.edu Jingfang

More information

ODE Runge-Kutta methods

ODE Runge-Kutta methods ODE Runge-Kutta methods The theory (very short excerpts from lectures) First-order initial value problem We want to approximate the solution Y(x) of a system of first-order ordinary differential equations

More information

The family of Runge Kutta methods with two intermediate evaluations is defined by

The family of Runge Kutta methods with two intermediate evaluations is defined by AM 205: lecture 13 Last time: Numerical solution of ordinary differential equations Today: Additional ODE methods, boundary value problems Thursday s lecture will be given by Thomas Fai Assignment 3 will

More information

Quadratic SDIRK pair for treating chemical reaction problems.

Quadratic SDIRK pair for treating chemical reaction problems. Quadratic SDIRK pair for treating chemical reaction problems. Ch. Tsitouras TEI of Chalkis, Dept. of Applied Sciences, GR 34400 Psahna, Greece. I. Th. Famelis TEI of Athens, Dept. of Mathematics, GR 12210

More information

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations International journal of scientific and technical research in engineering (IJSTRE) www.ijstre.com Volume Issue ǁ July 206. Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential

More information

(again assuming the integration goes left to right). Standard initial value techniques are not directly applicable to delay problems since evaluation

(again assuming the integration goes left to right). Standard initial value techniques are not directly applicable to delay problems since evaluation Stepsize Control for Delay Differential Equations Using Continuously Imbedded Runge-Kutta Methods of Sarafyan Skip Thompson Radford University Radford, Virginia Abstract. The use of continuously imbedded

More information

Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation

Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation MATCH Communications in Mathematical and in Computer Chemistry MATCH Commun. Math. Comput. Chem. (8) 7-77 ISSN - Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation T.V. Triantafyllidis,

More information

Solving scalar IVP s : Runge-Kutta Methods

Solving scalar IVP s : Runge-Kutta Methods Solving scalar IVP s : Runge-Kutta Methods Josh Engwer Texas Tech University March 7, NOTATION: h step size x n xt) t n+ t + h x n+ xt n+ ) xt + h) dx = ft, x) SCALAR IVP ASSUMED THROUGHOUT: dt xt ) =

More information

IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM

IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM COMPUTATIONAL METHODS IN SCIENCE AND TECHNOLOGY 8 (1), 17-30 (2002) IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM MAŁGORZATA JANKOWSKA 1, ANDRZEJ MARCINIAK 1,2 1 Poznań University

More information

Generalized RK Integrators for Solving Ordinary Differential Equations: A Survey & Comparison Study

Generalized RK Integrators for Solving Ordinary Differential Equations: A Survey & Comparison Study Global Journal of Pure and Applied Mathematics. ISSN 7-78 Volume, Number 7 (7), pp. Research India Publications http://www.ripublication.com/gjpam.htm Generalized RK Integrators for Solving Ordinary Differential

More information

A Fifth Order Flux Implicit WENO Method

A Fifth Order Flux Implicit WENO Method A Fifth Order Flux Implicit WENO Method Sigal Gottlieb and Julia S. Mullen and Steven J. Ruuth April 3, 25 Keywords: implicit, weighted essentially non-oscillatory, time-discretizations. Abstract The weighted

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

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

Numerical Integration of Equations of Motion

Numerical Integration of Equations of Motion GraSMech course 2009-2010 Computer-aided analysis of rigid and flexible multibody systems Numerical Integration of Equations of Motion Prof. Olivier Verlinden (FPMs) Olivier.Verlinden@fpms.ac.be Prof.

More information

THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS. Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands

THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS. Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands 1. Introduction This paper deals with initial value problems for delay

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

Strong Stability Preserving Time Discretizations

Strong Stability Preserving Time Discretizations AJ80 Strong Stability Preserving Time Discretizations Sigal Gottlieb University of Massachusetts Dartmouth Center for Scientific Computing and Visualization Research November 20, 2014 November 20, 2014

More information

SANGRADO PAGINA 17CMX24CM. PhD Thesis. Splitting methods for autonomous and non-autonomous perturbed equations LOMO A AJUSTAR (AHORA 4CM)

SANGRADO PAGINA 17CMX24CM. PhD Thesis. Splitting methods for autonomous and non-autonomous perturbed equations LOMO A AJUSTAR (AHORA 4CM) SANGRADO A3 PAGINA 17CMX24CM LOMO A AJUSTAR (AHORA 4CM) We have considered the numerical integration of non-autonomous separable parabolic equations using high order splitting methods with complex coefficients.

More information

Ordinary Differential Equations. Monday, October 10, 11

Ordinary Differential Equations. Monday, October 10, 11 Ordinary Differential Equations Monday, October 10, 11 Problems involving ODEs can always be reduced to a set of first order differential equations. For example, By introducing a new variable z, this can

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

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

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

A New Embedded Phase-Fitted Modified Runge-Kutta Method for the Numerical Solution of Oscillatory Problems

A New Embedded Phase-Fitted Modified Runge-Kutta Method for the Numerical Solution of Oscillatory Problems Applied Mathematical Sciences, Vol. 1, 16, no. 44, 157-178 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/1.1988/ams.16.64146 A New Embedded Phase-Fitted Modified Runge-Kutta Method for the Numerical Solution

More information

A Zero-Stable Block Method for the Solution of Third Order Ordinary Differential Equations.

A Zero-Stable Block Method for the Solution of Third Order Ordinary Differential Equations. A Zero-Stable Block Method for the Solution of Third Order Ordinary Differential Equations. K. Rauf, Ph.D. 1 ; S.A. Aniki (Ph.D. in view) 2* ; S. Ibrahim (Ph.D. in view) 2 ; and J.O. Omolehin, Ph.D. 3

More information

Starting Methods for Two-Step Runge Kutta Methods of Stage-Order 3 and Order 6

Starting Methods for Two-Step Runge Kutta Methods of Stage-Order 3 and Order 6 Cambridge International Science Publishing Cambridge CB1 6AZ Great Britain Journal of Computational Methods in Sciences and Engineering vol. 2, no. 3, 2, pp. 1 3 ISSN 1472 7978 Starting Methods for Two-Step

More information

Numerical Solution of Linear Fredholm Integro-Differential Equations by Non-standard Finite Difference Method

Numerical Solution of Linear Fredholm Integro-Differential Equations by Non-standard Finite Difference Method Available at http://pvamu.edu/aam Appl. Appl. Math. ISS: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 1019-1026 Applications and Applied Mathematics: An International Journal (AAM) umerical Solution

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

-Stable Second Derivative Block Multistep Formula for Stiff Initial Value Problems

-Stable Second Derivative Block Multistep Formula for Stiff Initial Value Problems IAENG International Journal of Applied Mathematics, :3, IJAM 3_7 -Stable Second Derivative Bloc Multistep Formula for Stiff Initial Value Problems (Advance online publication: 3 August ) IAENG International

More information

Astrodynamics (AERO0024)

Astrodynamics (AERO0024) Astrodynamics (AERO0024) 5. Numerical Methods Gaëtan Kerschen Space Structures & Systems Lab (S3L) Why Different Propagators? Analytic propagation: Better understanding of the perturbing forces. Useful

More information

Numerical Integration

Numerical Integration Numerical Integration Sanzheng Qiao Department of Computing and Software McMaster University February, 2014 Outline 1 Introduction 2 Rectangle Rule 3 Trapezoid Rule 4 Error Estimates 5 Simpson s Rule 6

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

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

Solution of First Order Initial Value Problem by Sixth Order Predictor Corrector Method

Solution of First Order Initial Value Problem by Sixth Order Predictor Corrector Method Global Journal of Pure and Applied Mathematics. ISSN 0973-1768 Volume 13, Number 6 (2017), pp. 2277 2290 Research India Publications http://www.ripublication.com/gjpam.htm Solution of First Order Initial

More information

From Nonlinear PDEs to Singular ODEs

From Nonlinear PDEs to Singular ODEs From Nonlinear PDEs to Singular ODEs Chris Budd University of Bath, Department of Mathematical Sciences, Bath, BA 27 AY, UK Othmar Koch Ewa Weinmüller Vienna University of Technology, Institute for Analysis

More information

HIGH ORDER VARIABLE MESH EXPONENTIAL FINITE DIFFERENCE METHOD FOR THE NUMERICAL SOLUTION OF THE TWO POINTS BOUNDARY VALUE PROBLEMS

HIGH ORDER VARIABLE MESH EXPONENTIAL FINITE DIFFERENCE METHOD FOR THE NUMERICAL SOLUTION OF THE TWO POINTS BOUNDARY VALUE PROBLEMS JOURNAL OF THE INTERNATIONAL MATHEMATICAL VIRTUAL INSTITUTE ISSN (p) 2303-4866, ISSN (o) 2303-4947 www.imvibl.org /JOURNALS / JOURNAL Vol. 8(2018), 19-33 DOI: 10.7251/JMVI1801019P Former BULLETIN OF THE

More information

Numerical Methods for Differential Equations

Numerical Methods for Differential Equations CHAPTER 5 Numerical Methods for Differential Equations In this chapter we will discuss a few of the many numerical methods which can be used to solve initial value problems and one-dimensional boundary

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

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

Integrating ODE's in the Complex Plane-Pole Vaulting

Integrating ODE's in the Complex Plane-Pole Vaulting MATHEMATICS OF COMPUTATION, VOLUME 35, NUMBER 152 OCTOBER 1980, PAGES 1181-1189 Integrating ODE's in the Complex Plane-Pole Vaulting By George F. Corliss Abstract. Most existing algorithms for solving

More information

Chapter 5 Exercises. (a) Determine the best possible Lipschitz constant for this function over 2 u <. u (t) = log(u(t)), u(0) = 2.

Chapter 5 Exercises. (a) Determine the best possible Lipschitz constant for this function over 2 u <. u (t) = log(u(t)), u(0) = 2. Chapter 5 Exercises From: Finite Difference Methods for Ordinary and Partial Differential Equations by R. J. LeVeque, SIAM, 2007. http://www.amath.washington.edu/ rjl/fdmbook Exercise 5. (Uniqueness for

More information

Math 411 Preliminaries

Math 411 Preliminaries Math 411 Preliminaries Provide a list of preliminary vocabulary and concepts Preliminary Basic Netwon's method, Taylor series expansion (for single and multiple variables), Eigenvalue, Eigenvector, Vector

More information

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Module No. # 07 Lecture No. # 04 Ordinary Differential Equations (Initial Value

More information

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 20

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 20 2.29 Numerical Fluid Mechanics Fall 2011 Lecture 20 REVIEW Lecture 19: Finite Volume Methods Review: Basic elements of a FV scheme and steps to step-up a FV scheme One Dimensional examples d x j x j 1/2

More information

Numerical Methods for the Solution of Differential Equations

Numerical Methods for the Solution of Differential Equations Numerical Methods for the Solution of Differential Equations Markus Grasmair Vienna, winter term 2011 2012 Analytical Solutions of Ordinary Differential Equations 1. Find the general solution of the differential

More information

Adebayo O. Adeniran1, Saheed O. Akindeinde2 and Babatunde S. Ogundare2 * Contents. 1. Introduction

Adebayo O. Adeniran1, Saheed O. Akindeinde2 and Babatunde S. Ogundare2 * Contents. 1. Introduction Malaya Journal of Matematik Vol. No. 73-73 8 https://doi.org/.37/mjm/ An accurate five-step trigonometrically-fitted numerical scheme for approximating solutions of second order ordinary differential equations

More information

Applied Numerical Analysis

Applied Numerical Analysis Applied Numerical Analysis Using MATLAB Second Edition Laurene V. Fausett Texas A&M University-Commerce PEARSON Prentice Hall Upper Saddle River, NJ 07458 Contents Preface xi 1 Foundations 1 1.1 Introductory

More information

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators MATEMATIKA, 8, Volume 3, Number, c Penerbit UTM Press. All rights reserved Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators Annie Gorgey and Nor Azian Aini Mat Department of Mathematics,

More information

Use of Differential Equations In Modeling and Simulation of CSTR

Use of Differential Equations In Modeling and Simulation of CSTR Use of Differential Equations In Modeling and Simulation of CSTR JIRI VOJTESEK, PETR DOSTAL Department of Process Control, Faculty of Applied Informatics Tomas Bata University in Zlin nám. T. G. Masaryka

More information

Numerical Integration of Ordinary Differential Equations for Initial Value Problems

Numerical Integration of Ordinary Differential Equations for Initial Value Problems Numerical Integration of Ordinary Differential Equations for Initial Value Problems Gerald Recktenwald Portland State University Department of Mechanical Engineering gerry@me.pdx.edu These slides are a

More information

16.1 Runge-Kutta Method

16.1 Runge-Kutta Method 704 Chapter 6. Integration of Ordinary Differential Equations CITED REFERENCES AND FURTHER READING: Gear, C.W. 97, Numerical Initial Value Problems in Ordinary Differential Equations (Englewood Cliffs,

More information

Dense Output. Introduction

Dense Output. Introduction ense Output 339 ense Output Lawrence F. Shampine 1 and Laurent O. Jay 2 1 epartment of Mathematics, Southern Methodist University, allas, TX, USA 2 epartment of Mathematics, The University of Iowa, Iowa

More information

Exponentially Fitted Error Correction Methods for Solving Initial Value Problems

Exponentially Fitted Error Correction Methods for Solving Initial Value Problems KYUNGPOOK Math. J. 52(2012), 167-177 http://dx.doi.org/10.5666/kmj.2012.52.2.167 Exponentially Fitted Error Correction Methods for Solving Initial Value Problems Sangdong Kim and Philsu Kim Department

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

Numerical Methods for Differential Equations

Numerical Methods for Differential Equations Numerical Methods for Differential Equations Chapter 2: Runge Kutta and Multistep Methods Gustaf Söderlind Numerical Analysis, Lund University Contents V4.16 1. Runge Kutta methods 2. Embedded RK methods

More information

Differential Equations

Differential Equations Differential Equations Overview of differential equation! Initial value problem! Explicit numeric methods! Implicit numeric methods! Modular implementation Physics-based simulation An algorithm that

More information

MATH 350: Introduction to Computational Mathematics

MATH 350: Introduction to Computational Mathematics MATH 350: Introduction to Computational Mathematics Chapter VII: Numerical Differentiation and Solution of Ordinary Differential Equations Greg Fasshauer Department of Applied Mathematics Illinois Institute

More information

Numerical Solution of ODE IVPs

Numerical Solution of ODE IVPs L.G. de Pillis and A.E. Radunskaya July 30, 2002 This work was supported in part by a grant from the W.M. Keck Foundation 0-0 NUMERICAL SOLUTION OF ODE IVPs Overview 1. Quick review of direction fields.

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

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

Solving Orthogonal Matrix Differential Systems in Mathematica

Solving Orthogonal Matrix Differential Systems in Mathematica Solving Orthogonal Matrix Differential Systems in Mathematica Mark Sofroniou 1 and Giulia Spaletta 2 1 Wolfram Research, Champaign, Illinois, USA. marks@wolfram.com 2 Mathematics Department, Bologna University,

More information