MathGroup Archive 2007

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

Search the Archive

StoppingTest Constraints in NDSolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72845] StoppingTest Constraints in NDSolve
  • From: Cham <martin465 at sympatico.ca>
  • Date: Mon, 22 Jan 2007 03:55:09 -0500 (EST)

Hi,

I'm using the NDSolve operation in Mathematica, and I need to add several constraints in the StoppingTest option.  How should I do this ?  More specifically, I want the iteration to stop if :

(x[t] - 1)^2 + y[t]^2 + z[t]^2 < 0.5

and 

(x[t] + 2)^2 + y[t]^2 + z[t]^2 < 0.5

How to tell this in the StoppingTest option ?


  • Prev by Date: pursuit curve (differential equations)
  • Next by Date: Re: simple equation manipulation
  • Previous by thread: Re: pursuit curve (differential equations)
  • Next by thread: Re: StoppingTest Constraints in NDSolve