these are first order differential equations, only that i need to integrate multiple ones thats are interlinked for a physics system.
i took this over to mathsisfun too, and i got told that the runge kutta method is only for implicit differential equations bladibla, however, i did have a try at doing it my own way, and i came up with something that seems to work, i dont know if its technically correct rk4 or what but.
http://www.mathsisfun.com/forum/viewtopic.php?id=5502
as you can see, i tried it out with a simple system, compared to an exact solution to the two differentials with respect to time given the inital values, and it seems to be working fine.
to reiterate what i say at the end
given the state variables, and a known intial value for all states 
and, a 'vector' of differential functions
such that , y_1' = f_1(\vec{y}), y_2' = f_2(\vec{y})... )
then you have
 )
 = \{f_0(\vec{y_t}),f_1(\vec{y_t})...\} )
 )
 )
 )
Last edited by luca-deltodesco (2006-12-25 11:01:52)