Post Reply 
(48G 49G 50G) Runge-Kutta Diff Eqn solver
06-04-2021, 11:05 AM
Post: #2
RE: 48G-50G Runge-Kutta Diff Eqn solver
You can rewrite that as

[ y v ]' = [ v g-k.X.v^2 ]

So the ODE program must accept [y v] and return [v g-k.X.v^2]
Something like this, with g,k and X global vars:
Code:
\<<
  2. GET @ v
  g OVER SQ
  k * X * - \->NUM
  2. \->ARRY
\>>

Cheers, Werner
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 48G-50G Runge-Kutta Diff Eqn solver - Werner - 06-04-2021 11:05 AM



User(s) browsing this thread: 1 Guest(s)