Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: New user question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20395] Re: New user question
  • From: "Kevin J. McCann" <kevin.mccann at jhuapl.edu>
  • Date: Tue, 26 Oct 1999 00:32:50 -0400
  • Organization: Johns Hopkins University Applied Physics Lab, Laurel, MD, USA
  • References: <7uefh0$277@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Check out

(-2.5)^1/3

0.6786044041487268 +  1.1753773062255988*I

Mathematica doesn't know how to plot a complex number with Plot, only reals. Try

Plot[{Re[x^(1/3)],Im[x^1/3]},{x,-5,5}] ;

Kevin
--

Kevin J. McCann
Johns Hopkins University APL
Johns Hopkins Road
Laurel MD 20723-6099
240-228-5476


Thomas Moriarty <moriarty at umd5.umd.edu> wrote in message
news:7uefh0$277 at smc.vnet.net...
> I have just begun to use/learn Mathematica.  One of the first things I
> tried was to Plot[x^(1/3),{x,-5,5}] and got error messages indicating that
> the negatives^(1/3) were not machine level real numbers (or close to
> that) - the positive side displayed ok.
>
> What am I doing wrong?
>
> Thanks
>
>




  • Prev by Date: A simple question? Please help
  • Next by Date: Mathematica for Macintosh Plus i.e. 68000 processors?
  • Previous by thread: Re: New user question
  • Next by thread: Re: New user question