Runge-Kutta 2nd Order Method

Runge-Kutta 2nd Order Method -...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 05/01/11 http://numericalmethods.eng.usf.edu 1 Runge 2 nd Order Method Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker http://numericalmethods.eng.usf.edu Transforming Numerical Methods Education for STEM Undergraduates Runge-Kutta 2 nd Order Method http://numericalmethods.eng.usf.edu http://numericalmethods.eng.usf.edu 3 Runge-Kutta 2 nd Order Method Runge Kutta 2nd order method is given by ( 29 h k a k a y y i i 2 2 1 1 1 + + = + where ( 29 i i y x f k , 1 = ( 29 h k q y h p x f k i i 1 11 1 2 , + + = For ) ( ), , ( y y y x f dx dy = = http://numericalmethods.eng.usf.edu 4 Heun’s Method x y x i x i+1 y i+1 , predicted y i Figure 1 Runge-Kutta 2nd order method (Heun’s method) ( 29 h k y h x f Slope i i 1 , + + = ( 29 ( 29 [ ] i i i i y x f h k y h x f Slope Average , , 2 1 1 + + + = ( 29 i i y x f Slope , = Heun’s method 2 1 1 = a 1 1 = p 1 11 = q resulting in h k k y y i i + + = + 2 1 1 2 1 2 1 where ( 29 i i y x f k , 1 = ( 29 h k y h x f k i i 1 2 , + + = Here a 2 =1/2 is chosen http://numericalmethods.eng.usf.edu 5 Midpoint Method Here 1 2 = a is chosen, giving 1 = a 2 1 1 = p 2 1 11 = q resulting in h k y y i i 2 1 + = + where ( 29 i i y x f k , 1 = + + = h k y h x f k i i 1 2 2 1 , 2 1 http://numericalmethods.eng.usf.edu 6 Ralston’s Method Here 3 2 2 = a is chosen, giving...
View Full Document

This note was uploaded on 05/01/2011 for the course CHBE 2120 taught by Professor Gallivan during the Spring '07 term at Georgia Tech.

Page1 / 19

Runge-Kutta 2nd Order Method -...

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