Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*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 1999

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

Search the Archive

Control Function With NDsolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19323] Control Function With NDsolve
  • From: Don Paddleford <don-paddleford at worldnet.att.net>
  • Date: Sat, 14 Aug 1999 23:42:52 -0400
  • Organization: AT&T WorldNet Services
  • Sender: owner-wri-mathgroup at wolfram.com

In solving a control type dif eq with NDSolve I have the following 
question. Suppose the eq is of the following simplified form

		y'[t]==a*f[y[t]]-b*y[t]
		y[0]==0

How to define f so that it starts at f=1, and changes to f=0 when y 
reaches ymax, and then changes back to f=1 when y reaches ymin, and so 
on in oscilatory fashion?


  • Prev by Date: Re: Pattern example
  • Next by Date: Re: Element Extraction
  • Previous by thread: Tricky Symbolizations with the Notation Package (Was Subscripts, Doh!!!)
  • Next by thread: Re: Control Function With NDsolve