cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

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

-MFra-
21-Topaz II

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

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

g0.png

View solution in original post

3 REPLIES 3
ttokoro
20-Turquoise
(To:-MFra-)

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

image.png

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

g0.png

-MFra-
21-Topaz II
(To:AlanStevens)

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.

Top Tags