Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Mathematica strange behaviour finding a cubic root
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
sergio_r@mail.com

Posts: 14
Registered: 10/22/07
Mathematica strange behaviour finding a cubic root
Posted: Dec 16, 2012 1:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


How can I make Mathematica provides the same answer for
(-1/2)^(2/3) = ((-1/2)^2)^(1/3) ?

What follows is a Mathematica session:

In[1]:= (-1/2)^(2/3)

1 2/3
Out[1]= (-(-))
2

In[2]:= N[%]

Out[2]= -0.31498 + 0.545562 I

In[3]:= ((-1/2)^2)^(1/3)

-(2/3)
Out[3]= 2

In[4]:= N[%]

Out[4]= 0.629961


Sergio




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.