lec17_ODE4 - expansions, but they take intermediate...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Fixed Points Example: Lotka-Volterra Predator-Prey model Runge-Kutta method for integrating ODEs Example: Apply 4 th order R-K method to pendulum problem Midterm project due date extended until next Thursday (4/1) as per my pre-spring break comment! No HW this week – finish your projects! Reading for Differential Equations in Appendix B. Reading for Runge-Kutta on hand out.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
System of ODEs describing the change in population of predators (y) and prey (x). Interpretation of parameters: a - prey birth rate, b – prey death rate (other than being eaten), c – rate of consumption, d – predator death rate, e – predator birth rate Find fixed points by setting both derivatives to 0 and solving for x and y: There are others, see them? dx dt = x ( a cy bx ) dy dt = y ( d ex ) x 0 = d e y 0 = a c bd ce
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Direct use of the Taylor series methods for better accuracy becomes quite tedious and error prone beyond the methods we have already seen. Runge-Kutta methods are also based to Taylor series
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: expansions, but they take intermediate (extrapolated) steps in which the function is evaluated appropriately chosen times BETWEEN the time time steps (dt). The derivation is rather long and not too instructive, we’ll just quote results and use them. The 4 th order Runge-Kutta is the standard method for solving ODEs – not necessarily the fastest or most accurate, but it is quite stable. 2 nd order RK is basically just a type of Euler method and not very commonly used. 4 th order RK is the standard Assume we have an ODE of the form Truncation error for 4 th order RK is dx dt = f ( x ( t ) , t ) O ( τ 5 ) Requires 4 intermediate evaluations of the function f(x): F 1 = f ( x, t ) F 2 = f ( x + 1 2 dtF 1 , t + 1 2 dt ) F 3 = f ( x + 1 2 dtF 2 , t + 1 2 dt ) F 4 = f ( x + dtF 3 , t + dt ) x ( t + dt ) = x ( t ) + dt 6 [ F 1 + 2 F 2 + 2 F 3 + F 4 ] Equation to solve: dx dt = − x...
View Full Document

This note was uploaded on 10/05/2010 for the course PHYS phy503 taught by Professor Gladden during the Spring '09 term at Ole Miss.

Page1 / 7

lec17_ODE4 - expansions, but they take intermediate...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online