MathGroup Archive 2009

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

Search the Archive

ODE with in a piece wise plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104225] ODE with in a piece wise plot
  • From: "Becky" <noslowski at comcast.net>
  • Date: Sat, 24 Oct 2009 02:39:58 -0400 (EDT)

Can this be done?

First of all, a basic example and then what I want to change.

E1=If[-1<=x<=0,1,If[3<=x<=5,2,If[-1<=x<=3,(x-1)]]]
Plot[E1,{x,-5,5}]

The purpose of this was to join all three areas into one plot.

Now!  I want to put in a ODE where the (x-1) is.  

Is this possible, and if so, would you mind giving me an example?




  • Prev by Date: ReplaceAll and rules from a list v7.0
  • Next by Date: Re: which values of m satisfies the inequality
  • Previous by thread: RE: ReplaceAll and rules from a list v7.0
  • Next by thread: Re: ODE with in a piece wise plot