MathGroup Archive 2006

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

Search the Archive

NDSolve:StoppingTest in Algebraic Differential Equations


Hi,

I discovered a strange behaviour of StoppingTest:

* for an ordinary differential equation everything is fine

  NDSolve[{y'[t] == 1, y[0] == 0}, {y}, {t, 0, 2}, StoppingTest ->
{y[t] > 1}]

* but even for simple algebraic differential equations,

  NDSolve[{y'[t] == 1, x[t] == y[t], y[0] == 0}, {x, y}, {t, 0, 2},
  StoppingTest -> {y[t] > 1}]

  I get an error message

  "Unable to create a NumericalFunction for the expression
  Hold[{y[t] > 1}]
  in the method "EventLocator".

Any suggestions?

Cheers,
Ben


  • Prev by Date: Re: Re: How to generate sections, subsections, etc. automatically?
  • Next by Date: Plotting Cosh(x)?
  • Previous by thread: Filemaker JDBC Mathematica5.2
  • Next by thread: Re: NDSolve:StoppingTest in Algebraic Differential Equations