MathGroup Archive 2001

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

Search the Archive

Re: (-8)^(1/3)


Using Mathematica v.4:

When I enter (-8)^(1/3) I received:

2(-1)^(1/3)

Given that you wrote your Mathematica response as 1 + 1.73205i,
reminds one of solving the cubic equation: x³ + 8 = 0. Thus, here are
some commands that yield your desired result of -2:

In[1]:= Solve[x³ +8 = = 0] [[1]]
Out[1] {x -> -2}

or

In[2]:= Root[ #1^3 + 8&, 1]
Out[2] -2

A²


LuisMa wrote:

> When I enter
>
> (-8)^(1/3)
>
> Mathematica answer
>
> 1 + 1.73205i,
>
> but I need
>
> (-8)^(1/3) = -2
>
> How can I get it?

--
-----------------------------------------------------
Click here for Free Video!!
http://www.gohip.com/free_video/




  • Prev by Date: Re: Simplify with If and UnitStep
  • Next by Date: Can NDSolve find the other solution???
  • Previous by thread: Re: (-8)^(1/3)
  • Next by thread: Re: (-8)^(1/3)