Rkadapt Diverges/Unstable

Rkadapt Diverges/Unstable - Rkadapt Diverges/Unstable - Messages

#1 Posted: 1/5/2018 6:43:03 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Bugs Rkadapt.sm (8 KiB) downloaded 40 time(s).
#2 Posted: 1/6/2018 5:18:22 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Jean,

It will work for me.

ode.PNG

I think you should use the last point in the results (N+1, n+1 rows). There is no point in increasing to much the number of steps. Moreover, increasing N for Rkadapt() will cause its failing (The maximum number of iterations is exceeded). For dn_GearsBDG() will do do job but the number of steps will not change the final results (only the calculation time will increase by increasing n)

Regards,
Radovan

P.S

Hmm...I can not remember if there is a possibility to change the accuracy of these algorithms .

EDIT: Ah yes, by setting the variables AbsTol and RelTol (see the Martin's Reference Handbook)
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2 users liked this post
Davide Carpi 1/6/2018 6:21:00 AM, frapuano 1/6/2018 8:27:00 AM
#3 Posted: 1/6/2018 1:46:06 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Thanks Radovan,

Wiil post the work sheet next minute in

Jean

RkadaptStability.PNG
1 users liked this post
frapuano 1/6/2018 7:27:00 PM
  • New Posts New Posts
  • No New Posts No New Posts