Understanding Runge-Kutta

This Demonstration shows the steps involved in computing the Runge–Kutta method of integrating a differential equation and how the approximations behave. in the graphic, drag the locator (from which the calculations start), change the step length , and move through the steps in the calculation.

(22 lines omitted)

Moving the initial point and varying the step size shows how, by sampling from points that contain the expected trajectory, the Runge–Kutta method improves on the Euler and related methods. Larger step sizes show how the method can err, while decreasing the step size shows the rapid convergence to the actual trajectory.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+