MathGroup Archive 2006

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

Search the Archive

Real numerical computations


Hi all,

With Mathematica, if I type

N[(-1.)^(1/3)]

I get

0.5 + 0.866025 i

This is correct, of course, but I would like to get -1. instead. How do
I tell Mathematica that I want a real result (if there is one)?

Best regards,

Jose Carlos Santos


  • Prev by Date: Quadratic Optimization
  • Next by Date: Please help carry out the integral
  • Previous by thread: Quadratic Optimization
  • Next by thread: Re: Real numerical computations