Re: another question regarding NDSolve
- To: mathgroup at smc.vnet.net
- Subject: [mg18936] Re: another question regarding NDSolve
- From: "Lars Hohmuth" <larsh at wolfram.com>
- Date: Tue, 27 Jul 1999 22:17:32 -0400
- Organization: Wolfram Research, Inc.
- References: <7n8n0n$k8p@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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 http://documents.wolfram.com/ Lars Hohmuth Wolfram Research, Inc. O. Matt Umurhan <matt at NOSPAM.kelvin.nas.nasa.gov> wrote in message news:7n8n0n$k8p at smc.vnet.net... > 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 > > > >