Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Possibly related to my post "Unexpected Graph Output"...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125494] Re: Possibly related to my post "Unexpected Graph Output"...
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Thu, 15 Mar 2012 00:35:09 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

On 3/14/12 at 12:41 AM, jwkochanski at mymail.vcu.edu (James Kochanski)
wrote:

>Why does Mathematica think the cube root of -27 is 1.5 + 2.598076 I
>and not -3?

Because Mathematica uses complex variables and the value returned is a complex cube root of -27.

That is:

In[8]:= NSolve[x^3 == -27, x]

Out[8]= {{x->-3.},{x->1.5 -2.59808 I},{x->1.5 +2.59808 I}}




  • Prev by Date: Re: Clearing a Checkbox
  • Next by Date: Re: Export Data and Decimal Separator
  • Previous by thread: Re: Possibly related to my post "Unexpected Graph Output"...
  • Next by thread: Export Data and Decimal Separator