Euler works - Runge-Rutta not

Euler works - Runge-Rutta not - Why? - Poruke

#1 Objavljeno: 31. 12. 2023. 00:02:28
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Help please
Rocket-s-Euler.sm (87,43 KiB) preuzeto 1650 put(ova).
#2 Objavljeno: 31. 12. 2023. 04:24:42
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

EK45 was Deified by Mathematica
Working code included.
Jean

Rocket-s-Euler.sm (122,44 KiB) preuzeto 1648 put(ova).
#3 Objavljeno: 31. 12. 2023. 14:49:44
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Thanks.
I have corrected myself
Rocket-s-Euler-RK.sm (87,35 KiB) preuzeto 1556 put(ova).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88,8 KiB) preuzeto 1602 put(ova).

#4 Objavljeno: 31. 12. 2023. 16:44:31
StvMath

StvMath

44 svidjanja i 1 nesvidjanja u 76 postova.

Grupa: User

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) preuzeto 1603 put(ova).
1 korisnika je svidelo ovu objavu
Valery Ochkov 31. 12. 2023. 17:02:00
#5 Objavljeno: 31. 12. 2023. 17:02:35
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

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.
#6 Objavljeno: 31. 12. 2023. 17:22:06
StvMath

StvMath

44 svidjanja i 1 nesvidjanja u 76 postova.

Grupa: User

Wrote

Wrote

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 korisnika je svidelo ovu objavu
Valery Ochkov 31. 12. 2023. 17:43:00
  • Novi postovi
  • Nema novih postova