MathGroup Archive 2009

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

Search the Archive

Re: Using Play command and polynomial tia sal2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97031] Re: Using Play command and polynomial tia sal2
  • From: dh <dh at metrohm.com>
  • Date: Tue, 3 Mar 2009 05:55:27 -0500 (EST)
  • References: <godm5p$48c$1@smc.vnet.net>


Hi,

your speaker cannot reproduce sound below some frequency. Your ear has a 

threshold too. Therefore, you must define (for the PC speaker) something 

that has at least say 100 "wiggles" a second.

hope this helps, Daniel



ratulloch at gmail.com wrote:

> 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: Looking to time how long a command takes in mathematica 6 tia sal2
  • Next by Date: Re: Design choice for Printout Screen Environment
  • Previous by thread: Re: Using Play command and polynomial tia sal2
  • Next by thread: Re: FindRoot and evaluations