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 KiB) downloaded 67 time(s).
Working code included.
Jean
Rocket-s-Euler.sm (122 KiB) downloaded 67 time(s).
#3 Posted: 12/31/2023 2:49:44 PM
Thanks.
I have corrected myself
Rocket-s-Euler-RK.sm (87 KiB) downloaded 55 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88 KiB) downloaded 52 time(s).
I have corrected myself
Rocket-s-Euler-RK.sm (87 KiB) downloaded 55 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88 KiB) downloaded 52 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 KiB) downloaded 65 time(s).
Rocket-s-Euler-RK-full.sm (89 KiB) downloaded 65 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