The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP-35s
Message #1 Posted by Richard Berler on 9 Sept 2013, 11:56 a.m.

When raising complex numbers to some power, the x root y won't work nor will x^2, yet y^x works. 3 root x fails for complex numbers, but x^ 1/3 works. Why?

      
Re: HP-35s
Message #2 Posted by Dieter on 9 Sept 2013, 2:46 p.m.,
in response to message #1 by Richard Berler

Because this is the way the 35s was designed. Some functions work in the complex domain, others don't. For instance, the root keys are for real arguments only, while the y^x key can handle complex input as well.

Take a look at the manual. It has a list of all functions that will work with complex numbers.

Dieter

            
Re: HP-35s
Message #3 Posted by Thomas Klemm on 9 Sept 2013, 3:13 p.m.,
in response to message #2 by Dieter

Quote:
It has operations for complex arithmetic (+, -, *, /), complex trigonometry (sin, cos, tan), and the mathematics functions -z, 1/z, z1z2, ln z, and ez. (where z1 and z2 are complex numbers).

However this doesn't give the answer to why they only implemented this subset. Karl Schneider gave a plausible explanation.

Cheers
Thomas

Edited: 9 Sept 2013, 3:20 p.m.

      
Re: HP-35s
Message #4 Posted by Thomas Radtke on 9 Sept 2013, 3:23 p.m.,
in response to message #1 by Richard Berler

Quote:
Why?
This should be answered by the people responsible for the specs sheet - HP.

I might be wrong, but I take it this way: The real root is faster to calculate, so on a *programmable* calculator used by people mostly interested in real results, this makes a lot of sense. The 35s, along with its predecessors, is targeted at education, not engineering.

The 15C does a better job by flagging the desired mode. Maybe the 32S was on the edge in terms of memory to use this concept, and obviously the 35s is designed to follow its traces.

All just speculations, of course.

            
Re: HP-35s
Message #5 Posted by Thomas Klemm on 9 Sept 2013, 3:39 p.m.,
in response to message #4 by Thomas Radtke

Quote:
The 35s, along with its predecessors, is targeted at education, not engineering.

Now kids the real mystery about these complex numbers is that you can calculate the trigonometric functions but there's no way to find the inverse which your calculator proves returning INVALID DATA.

Cheers
Thomas

                  
Re: HP-35s
Message #6 Posted by Ángel Martin on 9 Sept 2013, 3:52 p.m.,
in response to message #5 by Thomas Klemm

Quote:
you can calculate the trigonometric functions but there's no way to find the inverse which your calculator proves returning INVALID DATA.

But of course, in that way you can't check the accuracy of the direct results :-)

That's probably because they wanted to avoid all those questions about "why the returned value doesn't match the initial" - being multi-valued.

Cheers\'AM

                        
Re: HP-35s
Message #7 Posted by Thomas Klemm on 9 Sept 2013, 4:05 p.m.,
in response to message #6 by Ángel Martin

Then why did they provide ln z?

                              
Re: HP-35s
Message #8 Posted by Ángel Martin on 10 Sept 2013, 11:29 a.m.,
in response to message #7 by Thomas Klemm

So you could program the missing ones!

                  
Re: HP-35s
Message #9 Posted by Richard Berler on 10 Sept 2013, 12:05 a.m.,
in response to message #5 by Thomas Klemm

It's really rather bizarre. Why wouldn't they put in the inverse functions and the hyperbolics and their inverses in the HP 35s's function universe for complex arguments? I put the equations for all of this in it's equation library, and it works just fine. Doesn't make sense...

                        
Re: HP-35s
Message #10 Posted by Matt Agajanian on 10 Sept 2013, 12:19 a.m.,
in response to message #9 by Richard Berler

Could you post your equations here, please? These sound like essential additions to the trig function set. Much appreciated.

                              
Re: HP-35s
Message #11 Posted by Richard Berler on 10 Sept 2013, 10:33 a.m.,
in response to message #10 by Matt Agajanian

Math2.org Math Tables: Hyperbolic Trigonometric Identities (Math)

Hyperbolic Definitions

sinh(x) = ( ex - e-x )/2 csch(x) = 1/sinh(x) = 2/( ex - e-x )

cosh(x) = ( e x + e -x )/2

sech(x) = 1/cosh(x) = 2/( ex + e-x )

tanh(x) = sinh(x)/cosh(x) = ( ex - e-x )/( ex + e-x )

coth(x) = 1/tanh(x) = ( ex + e-x)/( ex - e-x )

cosh2(x) - sinh2(x) = 1

tanh2(x) + sech2(x) = 1

coth2(x) - csch2(x) = 1

Inverse Hyperbolic Defintions

arcsinh(z) = ln( z + (z2 + 1) )

arccosh(z) = ln( z (z2 - 1) )

arctanh(z) = 1/2 ln( (1+z)/(1-z) )

arccsch(z) = ln( (1+(1+z2) )/z )

arcsech(z) = ln( (1(1-z2) )/z )

arccoth(z) = 1/2 ln( (z+1)/(z-1) )

Relations to Trigonometric Functions

sinh(z) = -i sin(iz)

csch(z) = i csc(iz)

cosh(z) = cos(iz)

sech(z) = sec(iz)

tanh(z) = -i tan(iz)

coth(z) = i cot(iz)

                                    
Re: HP-35s
Message #12 Posted by Richard Berler on 10 Sept 2013, 1:10 p.m.,
in response to message #11 by Richard Berler

Here's more!

http://www.math.ethz.ch/education/bachelor/lectures/fs2012/other/ka_itet/TrigHypFunktionen.pdf

                  
Re: HP-35s
Message #13 Posted by Thomas Radtke on 10 Sept 2013, 1:21 a.m.,
in response to message #5 by Thomas Klemm

Thomas, I had "Leistungskurs Mathe" (you know what that means, dunno what that might be in english), and when there was some time left, we were asked for our interests and how to fill the remaining weeks. I asked for complex numbers, and the answer of our teacher was: "I'll see if I can find a way to explain what they are." He never did and I left school without knowledge about it.

Started functional analysis at university not before 3rd semester, introducing complex numbers to me. That was quite hard ;-).

Maybe all this was because I live in northern germany, and hopefully things are better now.

                        
Re: HP-35s
Message #14 Posted by Thomas Klemm on 10 Sept 2013, 1:52 p.m.,
in response to message #13 by Thomas Radtke

That's kind of a sad story. Because it's not that difficult to explain imaginary numbers:

I had more luck with my teacher. He had an HP-41C as well and allowed me to borrow PRISMA, the fanzine of the CCD (Computerclub Deutschland e.V.). One of the programs used Bairstow's method to solve a polynomial with real coefficients. This was far from what I would understand at that time. Many years later I wrote a program for the HP-11C.

Quote:
hopefully things are better now

With the advent of the internet we have access to so much knowledge these days. The problem now is to sort the wheat from the chaff.

Kind regards
Thomas

                              
Re: HP-35s
Message #15 Posted by Massimo Gnerucci (Italy) on 10 Sept 2013, 2:01 p.m.,
in response to message #14 by Thomas Klemm

Thanks! I love Calvin & Hobbes.

                              
Re: HP-35s
Message #16 Posted by Joe Horn on 10 Sept 2013, 5:30 p.m.,
in response to message #14 by Thomas Klemm

All math is imaginary. Hanging in my classroom:

                                    
Re: HP-35s
Message #17 Posted by Massimo Gnerucci (Italy) on 10 Sept 2013, 5:56 p.m.,
in response to message #16 by Joe Horn

Hence:



:)

                              
Re: HP-35s
Message #18 Posted by Dale Reed on 10 Sept 2013, 7:27 p.m.,
in response to message #14 by Thomas Klemm

Huh. I thought it was just a different integer base. English has thirteen simple names for numbers:

   Zero, one, two, ... nine, ten, eleven, twelve.

After that is "thirteen" -- literally "three and ten".

So English is perfect for counting in Base 13. After twelve comes "teen".

   Oneteen, twoteen, thirteen, ... nineteen, tenteen, eleventeen, twelveteen.

And after the nineties come the tenties, eleventies and twelveties.

   Ninety-eleven, ninety-twelve, tenty, tenty-one, tenty-two...

And so after twelvety-twelve, comes one-hundred base 13, which equals 169 decimal (a number I'm fond of for other reasons beyond the scope of this post).

I especially like to use base 13 counting when I'm standing behind someone doing inventory... ;-)

Of course, in Spain, Latin American countries, etc., you count in hex.

   Cero, uno, dos, tres, cuatro, ... once, doce, trece, catorce, quince...

... are the sixteen digits. So "veinte y catorce" is 2E hex.

I think what started me thinking about all this was when Dennis the Menace used the number eleventeen back long ago (1950s? 1960s?).

Anyway, my favorite number is eleventy-seven. It just sounds cool. But imaginary? Hardly!

Dale

p.s.: U2: 01, 02, 03, 0E ??? p.p.s: hope my spelling 'en espanol' is close. Been a while....

Edited: 10 Sept 2013, 7:29 p.m.

                                    
Re: HP-35s
Message #19 Posted by Thomas Klemm on 10 Sept 2013, 7:58 p.m.,
in response to message #18 by Dale Reed

A little girl once said to me: Thomas, you're so weird! I took it as a compliment and would like to pass it to you.

Cheers
Thomas

                                          
Re: HP-35s
Message #20 Posted by Dale Reed on 10 Sept 2013, 9:14 p.m.,
in response to message #19 by Thomas Klemm

Thomas,

If that was directed at me: Heard it. Often. For a long time. And thank you! Back atcha, fellow calc-nut!

Dale

                                    
Re: HP-35s
Message #21 Posted by Dave Shaffer (Arizona) on 10 Sept 2013, 8:02 p.m.,
in response to message #18 by Dale Reed

Quote:
Anyway, my favorite number is eleventy-seven. It just sounds cool. But imaginary? Hardly!

Try French, where 97 is "quatre-vingts dix sept" or 4 times twenty and ten and 7 (not sure about the "s" after vingt - it's been more than 40 years since I studied this!)

After years of attending scientific meetings at which English is invariably the language of the meeting, I have decided that you can figure out what somebody's true language is by listening to him/her count/recite numbers to him/herself.

                                          
Re: HP-35s
Message #22 Posted by Dale Reed on 12 Sept 2013, 11:15 p.m.,
in response to message #21 by Dave Shaffer (Arizona)

Dave,

Try watching engineers attempting to speak in haiku counting on their fingers!


[ Return to Index | Top of Index ]

Go back to the main exhibit hall