Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
EK45 was Deified by Mathematica Working code included. Jean Rocket-s-Euler.sm (123kb) downloaded 5 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 26/07/2022(UTC) Posts: 35 Location: UK Was thanked: 22 time(s) in 19 post(s)
|
Your RK does work! Your Euler doesn't because you have defined the acceleration term to have two input variables, but only call it with one in the Euler routine! Rocket-s-Euler-RK-full.sm (90kb) downloaded 13 time(s).Edited by user 31 December 2023 23:18:57(UTC)
| Reason: Not specified
|
1 user thanked StvMath for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
Originally Posted by: StvMath Your RK does work! Your Euler doesn't because you have defined the acceleration term to have two input variables, but only call it with one in the Euler routine! Tanks! Send me please the corrected file.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 26/07/2022(UTC) Posts: 35 Location: UK Was thanked: 22 time(s) in 19 post(s)
|
Originally Posted by: OchkovVF Originally Posted by: StvMath Your RK does work! Your Euler doesn't because you have defined the acceleration term to have two input variables, but only call it with one in the Euler routine! Tanks! Send me please the corrected file. I've now added the corrected file to my earlier reply.
|
1 user thanked StvMath for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.