Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 31 December 2023 06:02:28(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Help please
Rocket-s-Euler.sm (88kb) downloaded 7 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 31 December 2023 10:24:42(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
EK45 was Deified by Mathematica
Working code included.
Jean

Rocket-s-Euler.sm (123kb) downloaded 5 time(s).
Offline OchkovVF  
#3 Posted : 31 December 2023 20:49:44(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Thanks.
I have corrected myself
Rocket-s-Euler-RK.sm (88kb) downloaded 0 time(s).
New question
Why this not works
Rocket-s-Euler-RK-full.sm (89kb) downloaded 3 time(s).

Offline StvMath  
#4 Posted : 31 December 2023 22:44:31(UTC)
StvMath


Rank: Advanced Member

Groups: Registered
Joined: 26/07/2022(UTC)
Posts: 35
United Kingdom
Location: UK

Was thanked: 22 time(s) in 19 post(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 (90kb) downloaded 13 time(s).

Edited by user 31 December 2023 23:18:57(UTC)  | Reason: Not specified

thanks 1 user thanked StvMath for this useful post.
on 31/12/2023(UTC)
Offline OchkovVF  
#5 Posted : 31 December 2023 23:02:35(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: StvMath Go to Quoted Post
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.
Offline StvMath  
#6 Posted : 31 December 2023 23:22:06(UTC)
StvMath


Rank: Advanced Member

Groups: Registered
Joined: 26/07/2022(UTC)
Posts: 35
United Kingdom
Location: UK

Was thanked: 22 time(s) in 19 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
Originally Posted by: StvMath Go to Quoted Post
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.
thanks 1 user thanked StvMath for this useful post.
on 31/12/2023(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.