MathGroup Archive 2009

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

Search the Archive

Using Play command and polynomial tia sal2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96995] Using Play command and polynomial tia sal2
  • From: ratulloch at gmail.com
  • Date: Sun, 1 Mar 2009 04:57:08 -0500 (EST)

Greetings All

I know the play command uses sin, cos, etc.  But I would like to use
the Play command to listen to a polynomial.  Example below of
polynomial

Plot[Piecewise[{{4*x^2 - 4*x, 0 <= x <= 1}, {-2*x^2 + 8*x - 6
    , 1 = x < 3}}], {x, 0, 3}]

I replace the Plot command with Play
Play[Piecewise[{{4*x^2 - 4*x, 0 <= x <= 1}, {-2*x^2 + 8*x - 6
    , 1 = x < 3}}], {x, 0, 3}]

but mathematica 6 just comes back with errors and
just says running..

I think it's syntax but I haven't found an example of using the Play
command and Piecewise.  Should I be doing this another way?

tia sal2


  • Prev by Date: Re: How to Export the "Manipulate"
  • Next by Date: Re: FindRoot and evaluations
  • Previous by thread: Re: How to Export the "Manipulate"
  • Next by thread: Re: Using Play command and polynomial tia sal2