Euler works - Runge-Rutta not

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

#1 Publicado: 31/12/2023 0:02:28
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: User

Help please
Rocket-s-Euler.sm (87,43 KiB) descargado 1619 vez(es).
#2 Publicado: 31/12/2023 4:24:42
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

EK45 was Deified by Mathematica
Working code included.
Jean

Rocket-s-Euler.sm (122,44 KiB) descargado 1615 vez(es).
#3 Publicado: 31/12/2023 14:49:44
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: User

Thanks.
I have corrected myself
Rocket-s-Euler-RK.sm (87,35 KiB) descargado 1516 vez(es).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (88,8 KiB) descargado 1567 vez(es).

#4 Publicado: 31/12/2023 16:44:31
StvMath

StvMath

44 me gusta y 1 no me gusta en 76 mensajes.

Grupo: 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) descargado 1565 vez(es).
A 1 usuarios les gustó este mensaje
Valery Ochkov 31/12/2023 17:02:00
#5 Publicado: 31/12/2023 17:02:35
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: 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 Publicado: 31/12/2023 17:22:06
StvMath

StvMath

44 me gusta y 1 no me gusta en 76 mensajes.

Grupo: 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.
A 1 usuarios les gustó este mensaje
Valery Ochkov 31/12/2023 17:43:00
  • Nuevos mensajes
  • Sin mensajes nuevos