- #1
someguy23
- 3
- 0
How does one set up the Runge Kutta for
[tex] \frac {d^2y} {dt} m = b(\frac {dy} {dt} - \frac {dx} {dt}) + k (y-x) [/tex] ?
Set up the substitution variables:
[tex] a = \frac {d^2y}{dt}[/tex]
[tex] v = \frac{dy} {dt} [/tex]
Then what ?
Is there a way to get [tex] \frac{dx} {dt}[/tex] 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 !
[tex] \frac {d^2y} {dt} m = b(\frac {dy} {dt} - \frac {dx} {dt}) + k (y-x) [/tex] ?
Set up the substitution variables:
[tex] a = \frac {d^2y}{dt}[/tex]
[tex] v = \frac{dy} {dt} [/tex]
Then what ?
Is there a way to get [tex] \frac{dx} {dt}[/tex] 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 !