someguy23
- 3
- 0
How does one set up the Runge Kutta for
\frac {d^2y} {dt} m = b(\frac {dy} {dt} - \frac {dx} {dt}) + k (y-x) ?
Set up the substitution variables:
a = \frac {d^2y}{dt}
v = \frac{dy} {dt}
Then what ?
Is there a way to get \frac{dx} {dt} out of the equation ? If not, I have to differentiate my input function to provide values ? Can I do this by (x(t-1) + x(t+1))/ 2h or similar ?
Does it matter if B(v) is non linear and I get the value from a look up table instead of being able to calculate it ?
Thanks !
\frac {d^2y} {dt} m = b(\frac {dy} {dt} - \frac {dx} {dt}) + k (y-x) ?
Set up the substitution variables:
a = \frac {d^2y}{dt}
v = \frac{dy} {dt}
Then what ?
Is there a way to get \frac{dx} {dt} out of the equation ? If not, I have to differentiate my input function to provide values ? Can I do this by (x(t-1) + x(t+1))/ 2h or similar ?
Does it matter if B(v) is non linear and I get the value from a look up table instead of being able to calculate it ?
Thanks !