MathGroup Archive 2001

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

Search the Archive

Re: notation help: f(x) = (sin x)^(1/3)


First of all you do have a syntax error. What you meant was:

Plot[Sin[x]^(1/3), {x, -10, 10}]

But actually this will also not work. The explanation is again: complex
functions or your lack of acquaintance with them. The point is that  x^(1/3)
is not what you think it is when x is a negative real number (it is a
complex number). There are several ways round it. One of them is to load the
<<Miscellaneous`RealOnly`
package. My preferred way is to use:

Plot[Root[#^3-Sin[x]&,1], {x, -10, 10}]

Here Root[#^3-Sin[x]&,1] means the real cube root of Sin[x].


-- 
Andrzej Kozlowski
Toyama International University
JAPAN

http://platon.c.u-tokyo.ac.jp/andrzej/
http://sigma.tuins.ac.jp/~andrzej/


on 01.7.19 4:57 PM, Tim 9-23 at bendoftimeb at stny.rr.com wrote:

> How do I plot this.  I must not be entering it correctly.  It's the
> plot of the cube root of the Sine function.
> 
> Plot[[Sin[x]]^(1/3), {x, -10, 10}] isn't working.  Thanks.
> 
> My email address is anti-spammed.  Remove the 2 B's after hitting email reply
> if you want to email me.
> 
> Tim 9-23
> 
> 



  • Prev by Date: Re: [Q] Generalized Partitions
  • Next by Date: Re: Solving matrix equations
  • Previous by thread: RE: notation help: f(x) = (sin x)^(1/3)
  • Next by thread: Re: RE: notation help: f(x) = (sin x)^(1/3)