Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MaxIterations for FindRoot called by NDSolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98712] Re: MaxIterations for FindRoot called by NDSolve
  • From: dh <dh at metrohm.com>
  • Date: Thu, 16 Apr 2009 04:19:47 -0400 (EDT)
  • References: <grs68j$qgk$1@smc.vnet.net>


Hi david,

here is an example:



FindRoot[x^100, {x, 1}, MaxIterations -> 1000]



Daniel



David Goluskin wrote:

> Hi,

> 

> When running NDSolve, I get this error message:

> 

> FindRoot::cvmit: Failed to converge to the requested accuracy or precision

> within 100 iterations.

> 

> I wish to change MaxIterations, and I am calling this line before NDSolve,

> 

> SetOptions[FindRoot, MaxIterations -> \[Infinity]];

> 

> But, the options is not applying to FindRoot when it is called by NDSolve, I

> get the same error message.  How can I change MaxIterations for FindRoot

> when called my NDSolve?

> 

> Thank you,

> 

> David

> 

> 




  • Prev by Date: Re: Plotting a x,y,z function
  • Next by Date: Re: hyperlink problem in a ActionMenu
  • Previous by thread: MaxIterations for FindRoot called by NDSolve
  • Next by thread: Re: Help with Recursive Minimization