MathGroup Archive 2010

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

Search the Archive

Manipulate piecewise functions,

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107643] Manipulate piecewise functions,
  • From: "Vedhas | sahdeV" <vedhas at gmail.com>
  • Date: Sun, 21 Feb 2010 04:24:33 -0500 (EST)

a = {1 2 3 4 5 6}
The goal is to plot a piecewise function corresponding to each of "a"
values, with manipulate where control variable is p, and the function
for plot y versus x is:
y=x-p for x-p<a, and (x-p)^2 for (x-p)>=a i.e. 6 plots getting
manipulated simultaneously.

I am new to Mathematica and this might be a naive question, but I
couldn't find a solution through help documentation. I will appreciate
if you can help!

Thanks,

Vedhas


  • Prev by Date: DiscreteUniformDistribution PDF isn't piecewise?
  • Next by Date: Re: Why not a standard name used for this common function? DTFT
  • Previous by thread: Re: DiscreteUniformDistribution PDF isn't piecewise?
  • Next by thread: Re: Manipulate piecewise functions,