Timeline for Help with using the Runge-Kutta 4th order method on a system of 2 first order ODE's.
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 10, 2022 at 14:49 | comment | added | Kai | @MadPhysicist the ODE in the original question didn't have explicit $x$ dependence, it's only implicit in $y(x)$ and $z(x)$. You could have explicit $x$ dependence of course | |
| Jun 10, 2022 at 10:31 | comment | added | MadPhysicist | I have noticed that there is no explicit dependence of function f on variable x. Is that because of the substitution we used to reduce the order of derivative? Will this dependence on x be automatically picked up by the algorithm through other variables? | |
| Feb 10, 2019 at 0:03 | comment | added | Rumplestillskin | Fantastic answer @Kai +1. Would give +50 if possible! Many people struggle with systems of ODE's and RK methods. I have a question though regarding your Fortran implementation. If you wanted to be fancy you could write your $k_i$'s using a for loop correct? Essentially placing them in an array? So you would have an array $k(i,n)$ where i was the number of stages and n was the dimension of your state vector? Are you aware of any documentation that does this in Fortran? I am writing something similar at the minute and am a bit stumped!! | |
| Nov 4, 2018 at 0:20 | comment | added | Kai | Good catch, fixed it | |
| Nov 4, 2018 at 0:19 | history | edited | Kai | CC BY-SA 4.0 | changed t_n to x_n |
| Nov 3, 2018 at 20:39 | comment | added | tnt235711 | you should use $x_{n}$ instead of $t_{n}$ | |
| Mar 24, 2018 at 14:48 | history | edited | Kai | CC BY-SA 3.0 | corrected comment, code cleanup |
| Mar 24, 2018 at 2:44 | history | edited | Kai | CC BY-SA 3.0 | minor edit for clarity |
| Mar 23, 2018 at 23:44 | review | Late answers | |||
| Mar 23, 2018 at 23:48 | |||||
| Mar 23, 2018 at 23:29 | history | answered | Kai | CC BY-SA 3.0 |