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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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

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.

Announcements

Top Tags