For Programmers: Free Programming Magazines  


Home > Archive > Mathematica > November 2005 > NDSolve in 5.2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author NDSolve in 5.2
Ravi Purandare

2005-11-15, 4:03 am


I would first like to thank those who responded to my previous question.

Does anyone know of an issue involving NDSolve in version 5.2? A friend and I both have notebooks for which the command solved our system of ODEs well in version 4 but in 5.2 we get a message stating MaxSteps was reached at a value of independent variable
(t) less than desired (tmax). However, increasing MaxSteps doesn't help.

Any suggestions are appreciated.

Ravi Purandare
ravip@nmsu.edu



marks@wolfram.com

2005-11-24, 7:59 am

There was a complete rewrite of NDSolve between V4.2 and V5.0, so
it is hard to tell for sure without an example.

The single most probable cause is the change to the default
AccuracyGoal and PrecisionGoal.
In V4.2 they were 6 whereas since V5.0 they are 8. You could set them
explicitly to 6 and see if
that works - of course it will give a less accurate solution as V4.2
did:

NDSolve[...,AccuracyGoal->6, PrecisionGoal->6]

Mark Sofroniou
Research and Development
Wolfram Research

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com