Chapter Runge-Kutta 2nd Order Method for Ordinary Differential Equations

Similar documents
ORDINARY DIFFERENTIAL EQUATIONS

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

ORDINARY DIFFERENTIAL EQUATIONS EULER S METHOD

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

Computation of Fifth Degree of Spline Function Model by Using C++ Programming

Chapter Simpson s 1/3 Rule of Integration. ( x)

Model Fitting and Robust Regression Methods

Topic 6b Finite Difference Approximations

CENTROID (AĞIRLIK MERKEZİ )

FORMULAE FOR FINITE DIFFERENCE APPROXIMATIONS, QUADRATURE AND LINEAR MULTISTEP METHODS

DCDM BUSINESS SCHOOL NUMERICAL METHODS (COS 233-8) Solutions to Assignment 3. x f(x)

Some Unbiased Classes of Estimators of Finite Population Mean

Chapter Direct Method of Interpolation More Examples Chemical Engineering

CISE 301: Numerical Methods Lecture 5, Topic 4 Least Squares, Curve Fitting

Introduction to Numerical Integration Part II

4. Eccentric axial loading, cross-section core

GAUSS ELIMINATION. Consider the following system of algebraic linear equations

Lecture 26 Finite Differences and Boundary Value Problems

PLK VICWOOD K.T. CHONG SIXTH FORM COLLEGE Form Six AL Physics Optical instruments

Remember: Project Proposals are due April 11.

Chapter 3 Differentiation and Integration

ME 501A Seminar in Engineering Analysis Page 1

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

The proof is a straightforward probabilistic extension of Palfrey and Rosenthal (1983). Note that in our case we assume N

Lesson 16: Basic Control Modes

The Schur-Cohn Algorithm

CENTROID (AĞIRLIK MERKEZİ )

Chapter Direct Method of Interpolation More Examples Electrical Engineering

Mathematically, integration is just finding the area under a curve from one point to another. It is b

UNIVERSITY OF IOANNINA DEPARTMENT OF ECONOMICS. M.Sc. in Economics MICROECONOMIC THEORY I. Problem Set II

Shuai Dong. Isaac Newton. Gottfried Leibniz

CENTROID (AĞIRLIK MERKEZİ )

Quiz: Experimental Physics Lab-I

Section 4.7 Inverse Trigonometric Functions

Numerical Differentiation

36.1 Why is it important to be able to find roots to systems of equations? Up to this point, we have discussed how to find the solution to

Jens Siebel (University of Applied Sciences Kaiserslautern) An Interactive Introduction to Complex Numbers

, rst we solve te PDE's L ad L ad n g g (x) = ; = ; ; ; n () (x) = () Ten, we nd te uncton (x), te lnearzng eedbac and coordnates transormaton are gve

Math 190 Chapter 5 Lecture Notes. Professor Miguel Ornelas

consider in the case of 1) internal resonance ω 2ω and 2) external resonance Ω ω and small damping

Physics 2A Chapter 3 HW Solutions

: 5: ) A

General Tips on How to Do Well in Physics Exams. 1. Establish a good habit in keeping track of your steps. For example, when you use the equation

Outline. Review Numerical Approach. Schedule for April and May. Review Simple Methods. Review Notation and Order

4. Runge-Kutta Formula For Differential Equations. A. Euler Formula B. Runge-Kutta Formula C. An Example for Fourth-Order Runge-Kutta Formula

Homework 9 Solutions. 1. (Exercises from the book, 6 th edition, 6.6, 1-3.) Determine the number of distinct orderings of the letters given:

The Karush-Kuhn-Tucker. Nuno Vasconcelos ECE Department, UCSD

Endogenous timing in a mixed oligopoly consisting of a single public firm and foreign competitors. Abstract

Math Week 5 concepts and homework, due Friday February 10

Substitution Matrices and Alignment Statistics. Substitution Matrices

Effects of polarization on the reflected wave

UNIVERSITY OF BOLTON RAK ACADEMIC CENTRE BENG(HONS) MECHANICAL ENGINEERING SEMESTER TWO EXAMINATION 2017/2018 FINITE ELEMENT AND DIFFERENCE SOLUTIONS

Multivariate Ratio Estimator of the Population Total under Stratified Random Sampling

Complex Numbers, Signals, and Circuits

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Applied Statistics Qualifier Examination

ESCI 342 Atmospheric Dynamics I Lesson 1 Vectors and Vector Calculus

Fundamental Theorem of Calculus

Chapter 6. Operational Amplifier. inputs can be defined as the average of the sum of the two signals.

Section 8.3 Polar Form of Complex Numbers

Numbers Related to Bernoulli-Goss Numbers

12. The Hamilton-Jacobi Equation Michael Fowler

Numerical Solution of Ordinary Differential Equations

Solubilities and Thermodynamic Properties of SO 2 in Ionic

MATH1013 Tutorial 12. Indefinite Integrals

Outline. Finite Difference Grids. Numerical Analysis. Finite Difference Grids II. Finite Difference Grids III

4. Runge-Kutta Formula For Differential Equations

Finite Difference Method

LAPLACE TRANSFORM SOLUTION OF THE PROBLEM OF TIME-FRACTIONAL HEAT CONDUCTION IN A TWO-LAYERED SLAB

Advanced Circuits Topics - Part 1 by Dr. Colton (Fall 2017)

Math1110 (Spring 2009) Prelim 3 - Solutions

University of Washington Department of Chemistry Chemistry 452/456 Summer Quarter 2014

Stratified Extreme Ranked Set Sample With Application To Ratio Estimators

MAE140 - Linear Circuits - Fall 13 Midterm, October 31

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Chapter Direct Method of Interpolation More Examples Civil Engineering

Force = F Piston area = A

Lecture 36. Finite Element Methods

Module 2. Random Processes. Version 2 ECE IIT, Kharagpur

Chapter 3 Single Random Variables and Probability Distributions (Part 2)

CHAPTER 4d. ROOTS OF EQUATIONS

Chemical Reaction Engineering

ES.182A Topic 32 Notes Jeremy Orloff

Dennis Bricker, 2001 Dept of Industrial Engineering The University of Iowa. MDP: Taxi page 1

A new Approach for Solving Linear Ordinary Differential Equations

5 The Laplace Equation in a convex polygon

Multiple Integrals. Review of Single Integrals. Planar Area. Volume of Solid of Revolution

Math 113 Exam 2 Practice

Module 11 Design of Joints for Special Loading. Version 2 ME, IIT Kharagpur

Chemical Reaction Engineering

DEMO #8 - GAUSSIAN ELIMINATION USING MATHEMATICA. 1. Matrices in Mathematica

PHYS 1443 Section 004 Lecture #12 Thursday, Oct. 2, 2014

A Simple Research of Divisor Graphs

Multiple Integrals. Review of Single Integrals. Planar Area. Volume of Solid of Revolution

Lecture Note 4: Numerical differentiation and integration. Xiaoqun Zhang Shanghai Jiao Tong University

3/20/2013. Splines There are cases where polynomial interpolation is bad overshoot oscillations. Examplef x. Interpolation at -4,-3,-2,-1,0,1,2,3,4

International Journal of Pure and Applied Sciences and Technology

Many-Body Calculations of the Isotope Shift

Do the one-dimensional kinetic energy and momentum operators commute? If not, what operator does their commutator represent?

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a).

Transcription:

Cter. Runge-Kutt nd Order Metod or Ordnr Derentl Eutons Ater redng ts cter ou sould be ble to:. understnd te Runge-Kutt nd order metod or ordnr derentl eutons nd ow to use t to solve roblems. Wt s te Runge-Kutt nd order metod? Te Runge-Kutt nd order metod s numercl tecnue used to solve n ordnr derentl euton o te orm d ( ( d Onl rst order ordnr derentl eutons cn be solved b usng te Runge-Kutt nd order metod. In oter sectons we wll dscuss ow te Euler nd Runge-Kutt metods re used to solve ger order ordnr derentl eutons or couled (smultneous derentl eutons. How does one wrte rst order derentl euton n te bove orm? Emle Rewrte n Soluton d d d d d d d ( 5.e ( ( orm. ( 5.e ( 5.e d In ts cse..

.. Cter. Emle Rewrte n e Soluton (.e d d e d d sn( ( ( orm. d d sn( d sn( d e In ts cse sn( ( e ( 5 ( 5 ( 5 Runge-Kutt nd order metod Euler s metod s gven b ( ( were ( To understnd te Runge-Kutt nd order metod we need to derve Euler s metod rom te Tlor seres. d d d ( ( (... d! d! d ( ( '( ( ''( (... (!! As ou cn see te rst two terms o te Tlor seres ( re Euler s metod nd ence cn be consdered to be te Runge-Kutt st order metod. Te true error n te romton s gven b ( ( Et... (!! So wt would nd order metod ormul loo le. It would nclude one more term o te Tlor seres s ollows.

Runge-Kutt nd Order Metod.. (! Let us te generc emle o rst order ordnr derentl euton d e ( 5 d ( e Now snce s uncton o ( ( d (5 d ( e [( e ]( e e ( ( e 5e 9 Te nd order ormul or te bove emle would be! ( ( 5 e e 9! However we lred see te dcult o vng to nd ( n te bove metod. Wt Runge nd Kutt dd ws wrte te nd order metod s ( (6 were ( ( (7 Ts orm llows one to te dvntge o te nd order metod wtout vng to clculte (. So ow do we nd te unnowns nd. Wtout roo (see Aend or roo eutng Euton ( nd (6 gves tree eutons. Snce we ve eutons nd unnowns we cn ssume te vlue o one o te unnowns. Te oter tree wll ten be determned rom te tree eutons. Generll te vlue o s cosen to evlute te oter tree constnts. Te tree vlues generll used or re nd nd re nown s Heun s Metod te mdont metod nd Rlston s metod resectvel.

.. Cter. Heun s Metod Here s cosen gvng resultng n ( were ( (9 ( (9b Ts metod s grcll elned n Fgure. Sloe ( Sloe redcted Averge Sloe [ ( ( ] Fgure Runge-Kutt nd order metod (Heun s metod. Mdont Metod Here s cosen gvng resultng n ( were

Runge-Kutt nd Order Metod..5 ( (b Rlston s Metod Here s cosen gvng resultng n ( were ( ( (b Emle A bll t K s llowed to cool down n r t n mbent temerture o K. Assumng et s lost onl due to rdton te derentl euton or te temerture o te bll s gven b dθ -.67 ( θ dt were θ s n K nd t n seconds. Fnd te temerture t t seconds usng Runge- Kutt nd order metod. Assume ste sze o seconds. Soluton.67 ( θ ( t θ.67 ( θ dθ dt Per Heun s metod gven b Eutons ( nd (9 θ θ θ ( t ( t θ t θ θ ( ( t θ o

..6 Cter. (.67 (.5579 ( t θ ( (.5579 ( 6.9 (.67 6.9.7595 θ θ (.5579 (.7595 (.7 655.6 K t t θ 655.6K θ ( t ( 655.6 ( 655.6.67.69 ( t θ 655.6 (.69 56.7 ( 56.7.67.6 θ θ 655.6 (.69 (.6 655.6 (.95 5.7 K θ θ ( 5. 7 K Te results rom Heun s metod re comred wt ect results n Fgure. Te ect soluton o te ordnr derentl euton s gven b te soluton o nonlner euton s θ.959ln.59 tn θ Te soluton to ts nonlner euton t t s s θ ( 67.57 K (.θ.67 t. 9

Runge-Kutt nd Order Metod..7 Temerture θ (K - Ect 5 Tme t(sec Fgure Heun s metod results or derent ste szes. Usng smller ste sze would ncrese te ccurc o te result s gven n Tble nd Fgure below. Tble Eect o ste sze or Heun s metod E % Ste sze θ ( t 6-9.7 5.7 65.5 69.9 6.. 6. -.776 -.6 -.69 t 6. 9.7756.5.65.9765 Temerture θ ( 6 - - 5 Ste sze Fgure Eect o ste sze n Heun s metod.

.. Cter. In Tble Euler s metod nd te Runge-Kutt nd order metod results re sown s uncton o ste sze Tble Comrson o Euler nd te Runge-Kutt metods Ste sze θ ( Euler Heun Mdont Rlston 6-97.. 56.77 6.97 6.77-9.7 5.7 65.5 69.9 6.. 976.7 69. 65.5 69. 9.7 69. 667.7 65.5 6.6 wle n Fgure te comrson s sown over te rnge o tme. θ(k Temerture 9 7 Anltcl Mdont Rlston Heun 6 Euler 5 5 6 Tme t (sec Fgure Comrson o Euler nd Runge Kutt metods wt ect results over tme. How do tese tree metods comre wt results obtned we ound ( drectl? O course we now tt snce we re ncludng te rst tree terms n te seres te soluton s olnoml o order two or less (tt s udrtc lner or constnt n o te tree metods re ect. But or n oter cse te results wll be derent. Let us te te emle o d e ( 5. d te rst tree terms o te Tlor seres gves I we drectl nd

Runge-Kutt nd Order Metod..9 were! ( ( ( e ( 5e 9 For ste sze o. usng Heun s metod we nd (.6. 9 Te ect soluton e e gves (.6 (.6 (.6 e e.969 Ten te bsolute reltve true error s.969.9 t.969.57% For te sme roblem te results rom Euler s metod nd te tree Runge-Kutt metods re gven n Tble. Tble Comrson o Euler s nd Runge-Kutt nd order metods (.6 Ect Euler Drect nd Heun Mdont Rlston Vlue.969.955.9..97.99 %.5.57..9.6 t Aend A How do we get te nd order Runge-Kutt metod eutons? We wrote te nd order Runge-Kutt eutons wtout roo to solve d ( ( (A. d s ( (A. were ( (A. nd ( (A.b

.. Cter. (A. Te dvntge o usng nd order Runge-Kutt metod eutons s bsed on not vng to nd te dervtve o smbolcll n te ordnr derentl euton So ow do we get te bove tree Eutons (A.? Ts s te ueston tt s nswered n ts Aend. Wrtng out te rst tree terms o Tlor seres re! O d d d d (A.5 were Snce d d we cn rewrte te Tlor seres s! O (A.6 Now d d. (A.7 Hence! O d d O (A. Now te term used n te Runge-Kutt nd order metod or cn be wrtten s Tlor seres o two vrbles wt te rst tree terms s O (A.9 Hence O O

Runge-Kutt nd Order Metod.. Eutng te terms n Euton (A. nd Euton (A. we get (A. ORDINARY DIFFERENTIAL EQUATIONS Toc Runge nd Order Metod or Ordnr Derentl Eutons Summr Tetboo notes on Runge nd order metod or ODE Mjor Generl Engneerng Autors Autr Kw Lst Revsed October Web Ste tt://numerclmetods.eng.us.edu