1 Pages (6 items)
Euler works - Runge-Rutta not - Why? - Messages
#1 Posted: 12/31/2023 12:02:28 AM
#2 Posted: 12/31/2023 4:24:42 AM
EK45 was Deified by Mathematica
Working code included.
Jean
Rocket-s-Euler.sm (122.44 KiB) downloaded 1254 time(s).
Working code included.
Jean
Rocket-s-Euler.sm (122.44 KiB) downloaded 1254 time(s).
#3 Posted: 12/31/2023 2:49:44 PM
Thanks.
I have corrected myself
Rocket-s-Euler-RK.sm (87.35 KiB) downloaded 1169 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88.8 KiB) downloaded 1214 time(s).
I have corrected myself
Rocket-s-Euler-RK.sm (87.35 KiB) downloaded 1169 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88.8 KiB) downloaded 1214 time(s).
#4 Posted: 12/31/2023 4:44:31 PM
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 1235 time(s).
Rocket-s-Euler-RK-full.sm (89.85 KiB) downloaded 1235 time(s).
1 users liked this post
Valery Ochkov 12/31/2023 5:02:00 PM
#5 Posted: 12/31/2023 5:02:35 PM
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.
#6 Posted: 12/31/2023 5:22:06 PM
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 12/31/2023 5:43:00 PM
1 Pages (6 items)
- New Posts
- No New Posts