MathGroup Archive 1996

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

Search the Archive

Re: Mathematica NDSolve

  • To: mathgroup at
  • Subject: [mg3876] Re: Mathematica NDSolve
  • From: withoff (David Withoff)
  • Date: Sat, 4 May 1996 02:16:01 -0400
  • Organization: Wolfram Research, Inc.
  • Sender: owner-wri-mathgroup at

In article <4let9r$e4m at> Eric Mockensturm  
<root at> writes:
> I've used NDSolve quite a few times but I'm getting some results and I 
> can't determine what they mean.  I have a couple of coupled, NLODEs.  
> When I try to solve these guys with NDSolve, I just get {} as the 
> output.  I don't get any error messages or anything.  I'm not sure what 
> to make of this.  I hope it's something stupid and someone can set me 
> straight.  In the meantime, I'll try to remember how to do this with  
> Thanks,
> Eric Mockensturm
> Dynamic Stability Lab
> 1113 Etcheverry Hall
> University of California - Berkeley
> (510) 642-6371

This behavior means that there are no values of the derivatives that
satisfy the equations, or if there are, Mathematica wasn't able to
find them.  For example:

In[2]:= NDSolve[{f'[x] == 1, f'[x] == 2, f[0] == 1}, f[x], {x, 0, 1}]

Out[2]= {}

As an experiment, try using Solve to solve your equations (without
the initial conditions) for the derivatives.  If that doesn't work,
then NDSolve won't work either.

Unless your equations are such that it is difficult to solve for the
derivatives, my guess is that this is a syntax problem.  As has already
been pointed out, if you could send us your example, someone will
probably be able to spot the problem pretty quickly.

Dave Withoff
Research and Development
Wolfram Research


  • Prev by Date: A Questions Involving Solve
  • Next by Date: Re: Mathematica NDSolve
  • Previous by thread: Re: A Questions Involving Solve
  • Next by thread: Re: Mathematica NDSolve