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
- Follow-Ups:
- Re: Manipulate piecewise functions,
- From: Patrick Scheibe <pscheibe@trm.uni-leipzig.de>
- Re: Manipulate piecewise functions,
- From: Patrick Scheibe <pscheibe@trm.uni-leipzig.de>
- Re: Manipulate piecewise functions,
- From: Patrick Scheibe <pscheibe@trm.uni-leipzig.de>
- Re: Manipulate piecewise functions,