Post Reply 
Any way of calculating square root of a negative number on HP 35S?
01-22-2019, 10:32 PM
Post: #1
Any way of calculating square root of a negative number on HP 35S?
If one enters a negative number and take the square root, it gives back an error...the 35S has some imaginary support, but apparently not as transparent as the 42S et5c where it gives back the complex result...Is there any way of doing square roots of a negative number on the 35S and getting back a complex result?
Find all posts by this user
Quote this message in a reply
01-22-2019, 10:37 PM
Post: #2
RE: Any way of calculating square root of a negative number on HP 35S?
Cf. 35s and SQRT of Negative Numbers

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
01-22-2019, 10:40 PM
Post: #3
RE: Any way of calculating square root of a negative number on HP 35S?
(01-22-2019 10:32 PM)zeno333 Wrote:  IIs there any way of doing square roots of a negative number on the 35S and getting back a complex result?

Try;

0.5
yx
.

V.
.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2019, 12:08 AM
Post: #4
RE: Any way of calculating square root of a negative number on HP 35S?
(01-22-2019 10:40 PM)Valentin Albillo Wrote:  0.5
yx

Based on Egan's test this leads to:

INVALID y^x
Find all posts by this user
Quote this message in a reply
01-23-2019, 08:50 AM
Post: #5
RE: Any way of calculating square root of a negative number on HP 35S?
(01-22-2019 10:32 PM)zeno333 Wrote:  Is there any way of doing square roots of a negative number on the 35S and getting back a complex result?

There is a simple rule:
The 35s usually tries to return a real result. If no real result exists, it returns an error.
But if at least one argument is complex, it returns a complex result.

So there is an easy solution: use 0,5 i 0 yx.

–2 [ENTER] 0,5 i 0 [yx] => 0 i 1,4142....

Dieter
Find all posts by this user
Quote this message in a reply
01-24-2019, 04:15 AM
Post: #6
RE: Any way of calculating square root of a negative number on HP 35S?
(01-23-2019 08:50 AM)Dieter Wrote:  
(01-22-2019 10:32 PM)zeno333 Wrote:  Is there any way of doing square roots of a negative number on the 35S and getting back a complex result?

There is a simple rule:
The 35s usually tries to return a real result. If no real result exists, it returns an error.
But if at least one argument is complex, it returns a complex result.

So there is an easy solution: use 0,5 i 0 yx.

–2 [ENTER] 0,5 i 0 [yx] => 0 i 1,4142....

Dieter

That method works with the power function, but does not work with the sqrt key if one enters -2 i 0 and then chooses the sqrt key. So entering a number using complex input does not work for all functions.
Find all posts by this user
Quote this message in a reply
01-24-2019, 08:49 AM
Post: #7
RE: Any way of calculating square root of a negative number on HP 35S?
(01-24-2019 04:15 AM)zeno333 Wrote:  That method works with the power function, but does not work with the sqrt key if one enters -2 i 0 and then chooses the sqrt key. So entering a number using complex input does not work for all functions.

Right, the 35s does not support complex arguments for all of its functions. The available ones are mentioned in the manual. √x is not one of them. So simply use the power function instead. This is the way to calculate complex square roots on the 35s.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 




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