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

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

Search the Archive

RE: Real numerical computations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71744] RE: [mg71701] Real numerical computations
  • From: "David Park" <djmp at earthlink.net>
  • Date: Tue, 28 Nov 2006 06:03:57 -0500 (EST)

Jose,

Load the package Miscellaneous`RealOnly` or better yet get the
SwitchableRealOnly package by Ted Ersek from MathSource at the WRI site.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: José Carlos Santos [mailto:jcsantos at fc.up.pt]


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: Re: Real numerical computations
  • Next by Date: Re: Limit of Infinitely Nested Expression (4.0
  • Previous by thread: Re: Real numerical computations
  • Next by thread: Re: Real numerical computations