MathGroup Archive 2010

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

Search the Archive

Re: simple question for mathematica (corrected)


On Jan 25, 2:06 am, MANOLIS VOSKAKIS <emperor_... at hotmail.com> wrote:
> we have a function that is divided in 2 sub equations
> f=150 when 0<x<15
> f=x^3 when 15<x<24
>
> how can i create a plot of this function in mathematica??
> i want all in 1 graph
>
> thanks alot
> manolis

Plot[Piecewise[{{150, 0 < x < 15}, {x^3, 15 < x < 24}}, None], {x, 0,
24}]


  • Prev by Date: Re: Creating new ColorFunction / ColorDataFunction
  • Next by Date: Sum and NSum problem
  • Previous by thread: simple question for mathematica (corrected)
  • Next by thread: Re: simple question for mathematica (corrected)