Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*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 2003

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

Search the Archive

Re: a first-time user question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39377] Re: [mg39352] a first-time user question
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Thu, 13 Feb 2003 04:53:11 -0500 (EST)
  • References: <200302120852.DAA14779@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In[1]:=
<<Miscellaneous`RealOnly`

In[3]:=
Plot[x^(2/3), {x, -1, 0}]

Tomas Garza
Mexico City
----- Original Message -----
From: "Ye Hu" <huye at wharton.upenn.edu>
To: mathgroup at smc.vnet.net
Subject: [mg39377] [mg39352] a first-time user question


> I have a simple (supposedly) question...
>
> I used the following command to draw a plot, but Mathematica could not run
> properly.
>
> Plot[x^(2/3),{x,-1,0}]
>
>
> I know the problem is about calculating (-1)^(1/3) in mathematica.
Although
> (-1)^(1/3) = -1,
> mathematica tries to calculate it numerically and gives complex results
> 0.5+0.8i
> How to solve this problem and restrict the solution to be only real
numbers?
>
> Thanks very much.
>
>
>
>




  • Prev by Date: Re: a first-time user question
  • Next by Date: Re: Linear and logarithmic fit
  • Previous by thread: a first-time user question
  • Next by thread: Re: a first-time user question