Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: NDSolve:StoppingTest in Algebraic Differential Equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67145] Re: [mg67071] NDSolve:StoppingTest in Algebraic Differential Equations
  • From: bsyehuda at gmail.com
  • Date: Sat, 10 Jun 2006 04:54:08 -0400 (EDT)
  • References: <200606080854.EAA12425@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

To the best of my knowledge, this is not implemented yet for
differential-algebraic equations.
yehuda

On 6/8/06, ben <benjamin.friedrich at gmail.com> wrote:
>
> 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: List Comparison
  • Next by Date: Re: Plotting Cosh(x)?
  • Previous by thread: NDSolve:StoppingTest in Algebraic Differential Equations
  • Next by thread: Plotting Cosh(x)?