<runge-kutta-4> ( dxn..n/dt delta initial-state t-limit -- seq )


Vocabulary
math.runge-kutta

Inputs
dxn..n/dtan object
deltaan object
initial-statean object
t-limitan object


Outputs
seqan object


Word description
Simple runge-kutta implementation for generating 4th-order approximated solutions for a set of first order differential equations

Examples
A lorenz attractor is a popular system to model with this:
USING: math.runge-kutta math.runge-kutta.examples ; lorenz.

note that the produced chart is a 2 dimensional representation of a 3 dimensional solution. Similarly, the rabinovich-fabrikant system (stable alpha-gamma limit cycle):
USING: math.runge-kutta math.runge-kutta.examples ; rabinovich-fabrikant.


Definition