1 páginas (7 elementos)
Euler method without for - With vectors - Mensajes
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 (28,07 KiB) descargado 1533 vez(es).
Help please.
Rocket-s-Euler-vectors.sm (28,07 KiB) descargado 1533 vez(es).
Like this:

Rocket-s-Euler-vectors_b.sm (31,29 KiB) descargado 1493 vez(es).
Correction: The term yb*i should just be yb.

Rocket-s-Euler-vectors_b.sm (31,29 KiB) descargado 1493 vez(es).
Correction: The term yb*i should just be yb.
A 1 usuarios les gustó este mensaje
Valery Ochkov 24/12/2023 19:25:00
Thanks.
But I need without the line operator!
But I need without the line operator!
Even simpler!

Rocket-s-Euler-vectors_c.sm (30,2 KiB) descargado 1439 vez(es).
Correction: The term vb*i should just be vb

Rocket-s-Euler-vectors_c.sm (30,2 KiB) descargado 1439 vez(es).
Correction: The term vb*i should just be vb
WroteI 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
A 1 usuarios les gustó este mensaje
Valery Ochkov 25/12/2023 16:24:00
WroteWroteI 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 páginas (7 elementos)
- Nuevos mensajes
- Sin mensajes nuevos
