MathGroup Archive 2003

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

Search the Archive

Re: NDSolve help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43665] Re: [mg43626] NDSolve help
  • From: Michael Williams <williams at vt.edu>
  • Date: Sun, 28 Sep 2003 06:00:45 -0400 (EDT)
  • References: <200309260845.EAA03993@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

As the error message I received when I ran your snippet suggests, add 
the option ,   MaxSteps -> 3000   to the NDSolve command.

I don't know what the #(i.c.) != order business is about.  I didn't get 
that message (in 4.2.1).


On Sep 26, 2003, at 4:45 AM, sashan wrote:

> I'm a newb to mathematica. I'm trying to use NDSolve for a system of 2
> 2nd order ODE's and it complains that the number of initial conditions
> (4) is not equal to the total order of the system (2). But I'm pretty
> sure I've specified all the initial conditions. I've pasted the NDSolve
> code I'm trying to write.
>
> \!\(\(solution\  = \ NDSolve[{\(y''\)[t] == \(-\((\(-\ x[
>         t]^2\) + y[t]\ v^2)\)\), \ \(x''\)[
>                 t] == \(-\((\ x[t] y[t] + x[t] v^2)\)\),
>                      y[0] == 0, \(y'\)[0] == \(-1\), x[
>             0] == 1, \(x'\)[0] == 0} /.
>               v -> \@\(\(x'\)[t]^2 + \(y'\)[t]^2\), {x, y}, {t, 0,
> 200}];\)\)
>
> Thanks
>


  • References:
  • Prev by Date: Re: Animation Help
  • Next by Date: Re: Plots -> EPS -> Corel Draw
  • Previous by thread: NDSolve help
  • Next by thread: RE: NDSolve help