MathGroup Archive 1999

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

Search the Archive

Re: another question regarding NDSolve

  • To: mathgroup at
  • Subject: [mg18936] Re: another question regarding NDSolve
  • From: "Lars Hohmuth" <larsh at>
  • Date: Tue, 27 Jul 1999 22:17:32 -0400
  • Organization: Wolfram Research, Inc.
  • References: <7n8n0n$>
  • Sender: owner-wri-mathgroup at

This can be accomplished by setting two options, one to force NDSolve to use
RungeKutta, one to set the step size.

For example
NDSolve[{x''[t] == -Sin[t], x[0] == 1, x'[0] == 2}, x, {t, 0, 1},
  Method -> RungeKutta, MaxStepSize -> 0.1]

For more on NDSolve, take a look at the examples in the documentation and
the implementation notes in appendix 9 of the Mathematica book. If you don't
have it handy, the Mathematica book is available in the Help Browser and
on-line (minus the examples) at

Lars Hohmuth
Wolfram Research, Inc.

O. Matt Umurhan <matt at> wrote in message
news:7n8n0n$k8p at
> Dear Citizens,
> I have a specific question about NDSolve.   If I am having it solve an
> ode, how do I specify the maximum RKstep size it is to take?
> mu
> Dr. O. M. Umurhan
> Center for Turbulence Research
> Nasa Ames Research Center
> Moffett Field, CA  94035

  • Prev by Date: Re: $UserDirectory
  • Next by Date: Re: FastBinaryFiles
  • Previous by thread: RE: another question regarding NDSolve
  • Next by thread: PercentileBarChart