Re: another question about NDSolve
- To: mathgroup at smc.vnet.net
- Subject: [mg43020] Re: [mg42993] another question about NDSolve
- From: Selwyn Hollis <selwynh at earthlink.net>
- Date: Fri, 8 Aug 2003 00:26:33 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Sabrina, Use the equations. In your example, y'[t] < 0 would be the same as c - x[t] < 0. ----- Selwyn Hollis http://www.math.armstrong.edu/faculty/hollis On Thursday, August 7, 2003, at 12:53 AM, sabrina wrote: > Hello, all: > I am wondering if there is some way to define a stooping test in > NDSolve. My > problem is that the stopping test depends on x'[t], instead of x[t], > how > should I do it? > > E.g: > x'(t)= ax(t)-by(t), > y'(t)=c-x(t), when x(t) ==d and y'(t)<0( say a constant) > > Thanks a lot :) > > Sabrina > > >