Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 348 Was thanked: 28 time(s) in 27 post(s)
|
I can’t figure out how to implement Euler method for solving ODEs without a for cycle - only with vectors. Help please. Rocket-s-Euler-vectors.sm (29kb) downloaded 7 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 26/07/2022(UTC) Posts: 37 Location: UK Was thanked: 24 time(s) in 21 post(s)
|
|
1 user thanked StvMath for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 348 Was thanked: 28 time(s) in 27 post(s)
|
Thanks. But I need without the line operator!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 26/07/2022(UTC) Posts: 37 Location: UK Was thanked: 24 time(s) in 21 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: OchkovVF I canât figure out how to implement Euler method for solving ODEs without a for cycle - only with vectors. Help please. Further, you would have to collect pairwise. Euler is a poor integrator vs the yardstick rkf4 [Fehlberg]. On my test function Euler deviates up to 0.07 ... damned inaccurate ! Jean
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 348 Was thanked: 28 time(s) in 27 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: OchkovVF I canât figure out how to implement Euler method for solving ODEs without a for cycle - only with vectors. Help please. Further, you would have to collect pairwise. Euler is a poor integrator vs the yardstick rkf4 [Fehlberg]. On my test function Euler deviates up to 0.07 ... damned inaccurate ! Jean Edited by user 25 December 2023 06:25:31(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 348 Was thanked: 28 time(s) in 27 post(s)
|
Merry Christmas to everyone! Edited by user 25 December 2023 21:50:35(UTC)
| Reason: Not specified
|
1 user thanked OchkovVF for this useful post.
|
|
|
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.