Runge-Kutta (2nd Order): Heun’s method


/ Published in: C++
Save to your folder(s)

This example solves the following ordinary differential equation: y' = ((4 * exp(0.8*x)) - (0.5*y)); graph here: http://j.mp/H3K42D using the Heun’s method. Heun’s method is a second order Runge-Kutta Numerical Method for solving ordinary differential equations. More indepth discussion on the Book Numerical Methods 6th Edition - Chapra Page 722.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.