Post Reply 
Ans and ^ (1/3)
04-10-2015, 06:34 PM
Post: #15
RE: Ans and ^ (1/3)
(04-10-2015 06:05 PM)toml_12953 Wrote:  
(03-30-2015 06:15 PM)John Colvin Wrote:  if I place -8^(1/3) on the stack I get -2 after pressing eval.

If you eval -8^(1/3) you get -(8^(1/3)) which is -2 of course.

If you want to raise -8 to the 1/3 power, you need to eval:

'(-8)^(1/3)'

to get

1+1.73205080757*i

Make sure "Allow complex output from real input" is checked in settings.

Tom L
I got that. I now understand that the Prime's nth root function and nth root template return the real root where as the y^x key returns the principle complex root. I was curious as to why (-8)^(1/3) returns the complex root as opposed to the real root(even in CAS mode), It's not a bug in the software, since this is the way it is handled on the 50G and in XCAS(1 + i*sqrt(3)).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Ans and ^ (1/3) - Helge Gabert - 03-30-2015, 04:08 PM
RE: Ans and ^ (1/3) - parisse - 03-30-2015, 06:08 PM
RE: Ans and ^ (1/3) - Helge Gabert - 03-30-2015, 08:36 PM
RE: Ans and ^ (1/3) - BartDB - 03-31-2015, 09:37 AM
RE: Ans and ^ (1/3) - Joe Horn - 03-31-2015, 09:51 AM
RE: Ans and ^ (1/3) - John Colvin - 03-30-2015, 06:15 PM
RE: Ans and ^ (1/3) - Helge Gabert - 03-30-2015, 08:42 PM
RE: Ans and ^ (1/3) - toml_12953 - 04-10-2015, 06:05 PM
RE: Ans and ^ (1/3) - John Colvin - 04-10-2015 06:34 PM
RE: Ans and ^ (1/3) - BartDB - 03-31-2015, 09:46 AM
RE: Ans and ^ (1/3) - John Colvin - 03-31-2015, 07:45 PM
RE: Ans and ^ (1/3) - Han - 03-31-2015, 08:31 PM
RE: Ans and ^ (1/3) - John Colvin - 03-31-2015, 08:41 PM
RE: Ans and ^ (1/3) - BartDB - 04-08-2015, 09:27 AM
RE: Ans and ^ (1/3) - Helge Gabert - 03-31-2015, 03:32 PM



User(s) browsing this thread: 1 Guest(s)