[Maxima] Runge Kutta

Wilhelm Haager wilhelm.haager at htlstp.ac.at
Tue Mar 17 04:32:19 CDT 2009


Hello!

I want to make a simulation using the function rk (Runke Kutta method)
from the package "dynamics" in the following form:

  rk([x2,1-x1-0.2*x2],[x1,x2],[0,0],[t,0,50,0.1])$

I need to pass state events to rk, for example
limitations like "if x>5 then 5 else x"

Is that possible? If yes, how can that be done?

Thanks
Wilhelm Haager






More information about the Maxima mailing list