Skip to main content
21-Topaz II
August 5, 2021
Solved

How to improve the solution of a two differential equations system?

  • August 5, 2021
  • 2 replies
  • 1977 views

Hello everyone,
how do i get the same solutions of the system in two differential equations, changing the odesolve algorithm since they vary as it changes? It's possible?

I thank you all.

Greetings.

two eqdif system.jpg

Best answer by AlanStevens

If you do a little rescaling you find the result is independent of the algorithm.

g0.png

2 replies

ttokoro
21-Topaz I
21-Topaz I
August 6, 2021

The shape is depend on TOL= 10-1 to 10-7. Prime 7.

image.png

t.t.
19-Tanzanite
August 6, 2021

If you do a little rescaling you find the result is independent of the algorithm.

g0.png

-MFra-21-Topaz IIAuthor
21-Topaz II
August 6, 2021

Your results are the same as those obtained with the "Fixed" or "Adaptive" algorithms so I choose one of the two without changing anything. Anyway, thank you very much for the helpful advice.