Post Reply 
HP-35’s x^y Why?
11-03-2021, 03:46 AM
Post: #29
RE: HP-35’s x^y Why?
(11-03-2021 02:37 AM)robve Wrote:  I strongly suspect that a dedicated key for the y'th root of x (or the x'th root of y with Sharp) surely indicates that negative x with odd y'th roots are supported, e.g. (-27)^1/3 returns -3. This requires some careful implementation logic to determine that x is a perfect reciprocal (e.g. 0.142857142 is really close enough to 1/7, or is it?). I noticed that older and simpler scientific calculators don't support negative x, e.g. Ti-25 and Sharp EL-5100. I don't own a sufficiently large collection of calculators to test this hypothesis, so correct me if I'm wrong.

Let's try this out. While 1/7 equals \( 0.\overline{142857} \), entering 10 digits .1428571429 on a 10 digit calculator should fail, because internally 12 digits are significant with the last 2 rounded off and internally 1/7 has 12 digits (or more depending on the calculator):

Sharp EL-5200:
(-128)^(1/7)=-2 is OK
(-128)^A=-2 with variable A=1/7 is OK
(-128)^(.1428571429) ERROR (as can be expected)

Sharp PC-1474 and PC-E500 and most other Sharp PC:
(-128)^(1/7)=-2 is OK
(-128)^A with variable A=1/7 ERROR because simple variables hold 10 digits in Sharp S-BASIC
(-128)^(.1428571429) ERROR (as can be expected)


HP-35s:
ALG mode: (-128)^INV(7) ERROR
RPN mode: 7 1/x 128 (-) y^x ERROR


Ti 36X:
(-128)^(1/7)=-2 is OK
(-128)^(.1428571429) ERROR (as can be expected)

Sharp EL-506A:
(-128)^(1/7)=-2 is OK
(-128)^(.1428571429) ERROR (as can be expected)

Philips SBC 158
(-128)^(1/7) ERROR also 7-th root of -128 fails
(-128)^(.1428571429) ERROR (as can be expected)


Ti-25
(-128)^(1/7) ERROR
(-128)^(.1428571429) ERROR (as can be expected)


All of these calculators have an n-th root key except the Ti-25. I consider the Philips scientific calculator a nice metallic machine from the early 80s, but not a serious calculator. It also has a quirk: digits are not shifted to the left when entered, the first digits simply stay on the left.

But why, oh why HP-35s did you fail?

- Rob

"I count on old friends to remain rational"
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-35’s x^y Why? - Matt Agajanian - 10-30-2021, 06:33 PM
RE: HP-35’s x^y Why? - toml_12953 - 10-30-2021, 06:43 PM
RE: HP-35’s x^y Why? - TomC - 10-30-2021, 07:41 PM
RE: HP-35’s x^y Why? - Peet - 10-30-2021, 08:46 PM
RE: HP-35’s x^y Why? - Gerson W. Barbosa - 10-30-2021, 09:54 PM
RE: HP-35’s x^y Why? - Steve Simpkin - 10-30-2021, 11:43 PM
RE: HP-35’s x^y Why? - Peet - 10-31-2021, 07:45 AM
RE: HP-35’s x^y Why? - Steve Simpkin - 10-31-2021, 07:07 PM
RE: HP-35’s x^y Why? - Peet - 10-31-2021, 09:18 PM
RE: HP-35’s x^y Why? - Didier Lachieze - 10-31-2021, 09:49 PM
RE: HP-35’s x^y Why? - lrdheat - 10-31-2021, 12:00 AM
RE: HP-35’s x^y Why? - Steve Simpkin - 10-31-2021, 12:23 AM
RE: HP-35’s x^y Why? - rprosperi - 10-31-2021, 01:09 AM
RE: HP-35’s x^y Why? - Steve Simpkin - 10-31-2021, 01:34 AM
RE: HP-35’s x^y Why? - Dave Britten - 10-31-2021, 01:31 PM
RE: HP-35’s x^y Why? - rprosperi - 10-31-2021, 08:18 PM
RE: HP-35’s x^y Why? - Steve Simpkin - 10-31-2021, 09:39 PM
RE: HP-35’s x^y Why? - rprosperi - 10-31-2021, 11:59 PM
RE: HP-35’s x^y Why? - Steve Simpkin - 11-01-2021, 12:51 AM
RE: HP-35’s x^y Why? - ijabbott - 11-01-2021, 08:40 PM
RE: HP-35’s x^y Why? - EdS2 - 11-01-2021, 09:54 AM
RE: HP-35’s x^y Why? - rprosperi - 11-01-2021, 12:40 PM
RE: HP-35’s x^y Why? - John Keith - 11-01-2021, 02:47 PM
RE: HP-35’s x^y Why? - robve - 11-03-2021, 02:37 AM
RE: HP-35’s x^y Why? - robve - 11-03-2021 03:46 AM
RE: HP-35’s x^y Why? - Albert Chan - 11-03-2021, 07:45 AM
RE: HP-35’s x^y Why? - robve - 11-03-2021, 01:44 PM
RE: HP-35’s x^y Why? - Albert Chan - 11-03-2021, 03:21 PM
RE: HP-35’s x^y Why? - J-F Garnier - 11-03-2021, 07:47 AM
RE: HP-35’s x^y Why? - robve - 11-03-2021, 02:38 PM
RE: HP-35’s x^y Why? - J-F Garnier - 11-03-2021, 03:43 PM
RE: HP-35’s x^y Why? - robve - 11-03-2021, 05:46 PM
RE: HP-35’s x^y Why? - J-F Garnier - 11-03-2021, 06:41 PM
RE: HP-35’s x^y Why? - robve - 11-03-2021, 08:04 PM
RE: HP-35’s x^y Why? - Albert Chan - 11-03-2021, 06:22 PM
RE: HP-35’s x^y Why? - cdmackay - 11-02-2021, 04:22 PM
RE: HP-35’s x^y Why? - ijabbott - 11-02-2021, 08:09 PM
RE: HP-35’s x^y Why? - Gene - 11-02-2021, 04:31 PM
RE: HP-35’s x^y Why? - Jeff O. - 11-04-2021, 09:15 PM
RE: HP-35’s x^y Why? - Guenter Schink - 11-04-2021, 09:21 PM



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