1 Pages (6 items)
Euler works - Runge-Rutta not - Why? - Messages
EK45 was Deified by Mathematica
Working code included.
Jean
Rocket-s-Euler.sm (122.44 KiB) downloaded 898 time(s).
Working code included.
Jean
Rocket-s-Euler.sm (122.44 KiB) downloaded 898 time(s).
Thanks.
I have corrected myself
Rocket-s-Euler-RK.sm (87.35 KiB) downloaded 831 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88.8 KiB) downloaded 862 time(s).
I have corrected myself
Rocket-s-Euler-RK.sm (87.35 KiB) downloaded 831 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88.8 KiB) downloaded 862 time(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 (89.85 KiB) downloaded 877 time(s).
Rocket-s-Euler-RK-full.sm (89.85 KiB) downloaded 877 time(s).
1 users liked this post
Valery Ochkov 2023/12/31 17:02:00
WroteYour 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.
WroteWroteYour 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 users liked this post
Valery Ochkov 2023/12/31 17:43:00
1 Pages (6 items)
- New Posts
- No New Posts