Post Reply 
Easy question
09-10-2021, 06:09 PM (This post was last modified: 09-10-2021 06:24 PM by ijabbott.)
Post: #19
RE: Easy question
(09-10-2021 05:23 PM)Albert Chan Wrote:  
(09-09-2021 11:59 PM)ijabbott Wrote:  The result of (-1)^(4/5) will depend on whether or not you have the "Allow complex output from real input" option turned on or off in the settings. If turned off, you will get the real result -1. If turned on, you will get the complex result -0.809016994375+0.587785252292*i. Also, I think the CAS mode always approximates to the complex result.

HP Prime emulator, 2.1.14181 (2018_10_16), just after a hard reset.

From Symbolic Setup, if I pick Complex: Off, (-1)^(4/5) gives -0.809016994375+0.587785252292*i.
If I pick Complex: System, or On, (-1)^(4/5) give "Error: (X<0)^(∉Z)"

I was unable to setup calculator to give real root for (-1)^(4/5) = 1.0

On my real HP Prime G1 2.1.14588 (2021_05_05), setting Complex: On in Home Symbolic Settings produces a real result = 1, and setting Complex: Off produces the aforementioned complex result. That seems to be opposite of what I expected. It may be a bug?

The "Intelligent Math" option in Home Settings needs to be turned off for all of the above.

Setting Complex: On and evaluating (-1)^.8 produces the domain error that Albert mentions.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Easy question - boggiano - 09-01-2021, 10:10 AM
RE: Easy question - roadrunner - 09-01-2021, 11:54 AM
RE: Easy question - rawi - 09-01-2021, 04:02 PM
RE: Easy question - toml_12953 - 09-01-2021, 04:11 PM
RE: Easy question - jte - 09-06-2021, 12:36 AM
RE: Easy question - Albert Chan - 09-06-2021, 01:17 AM
RE: Easy question - ijabbott - 09-06-2021, 12:41 PM
RE: Easy question - jte - 09-06-2021, 10:31 PM
RE: Easy question - Albert Chan - 09-07-2021, 01:09 AM
RE: Easy question - jte - 09-09-2021, 05:55 PM
RE: Easy question - jte - 09-06-2021, 05:39 PM
RE: Easy question - boggiano - 09-09-2021, 10:44 AM
RE: Easy question - Joe Horn - 09-09-2021, 05:40 PM
RE: Easy question - boggiano - 09-09-2021, 06:05 PM
RE: Easy question - toml_12953 - 09-09-2021, 10:10 PM
RE: Easy question - boggiano - 09-09-2021, 10:32 PM
RE: Easy question - ijabbott - 09-09-2021, 11:59 PM
RE: Easy question - Albert Chan - 09-10-2021, 05:23 PM
RE: Easy question - ijabbott - 09-10-2021 06:09 PM
RE: Easy question - boggiano - 09-11-2021, 12:16 AM
RE: Easy question - toml_12953 - 09-11-2021, 11:14 AM



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