What does the HP20S function "yx" do??? - Printable Version +- HP Forums ( https://archived.hpcalc.org/museumforum)+-- Forum: HP Museum Forums ( https://archived.hpcalc.org/museumforum/forum-1.html)+--- Forum: Old HP Forum Archives ( https://archived.hpcalc.org/museumforum/forum-2.html)+--- Thread: What does the HP20S function "yx" do??? ( /thread-70206.html) |

What does the HP20S function "yx" do??? - Eduardo Abril de Fontcuberta - 03-08-2005
I need to know what the "yx" (top roww of keys) do when you press it. and the result is 75.4995 What have I done with that key????
Thanks Re: What does the HP20S function "yx" do??? - George Rose - 03-08-2005
The function "yx" is y to the power of x. An easier example of y=2 and x=3 equals 2 x 2 x 2 = 8. So in your example 1.0351 yx 4.85 = 1.182127 and your first number of 89.25 divided by 1.182127 = 75.4995. Hope this helps. I wish I had the math background of most of the users of this forum to explain more eloquently.
Re: What does the HP20S function "yx" do??? - Karl Schneider - 03-09-2005
As George explained below, y Of course, with the mathematical precedence in the "Algebraic" HP-20S, you calculated
89.25 / (1.03510 Is that what you intended? For,
(89.25 / 1.03510)
-- KS
Re: What does the HP20S function "yx" do??? - Julián Miranda (Spain) - 03-09-2005
Well, it seems the key should be xy not yx. I think this has been commented before.
Re: What does the HP20S function "yx" do??? - Larry Corrado - 03-09-2005
Julian, I haven't seen the earlier discussion your refer to, but I think the reason for this "yx" order is the way we say the expression (at least in English.) For example, the expression m^n would be spoken as "m to the n power." The m is the first item mentioned, and then the exponent n. Calculators are designed to accept the data in this same order, first the m value and then the n value. In an RPN machine, this means that the m gets pushed into the y location in the stack, with the power in x. Hence, yx is the reaonable way to label the key. I, too, was a bit confused by this notation when I began using a calculator, but I finally saw the reasoning behind it and now perform this calculation without a second thought, simply keying the values in their"natural" order. Hope this explanation is clear.
Regards, Re: What does the HP20S function "yx" do??? - John Limpert - 03-09-2005
It was x^y on the HP-35. They switched it to y^x on the HP-80, HP's second pocket calculator. Looking at the old desktop RPN calculators, The HP-9100 didn't have x^y or y^x, a strange omission. The HP-9810A had x^y as an option. The HP-9815 had y^x. TI seems to have been consistent in using y^x on all of their early scientific calculators.
Re: What does the HP20S function "yx" do??? - Bill Wiese - 03-09-2005
Y^X - read as "y to the xth power" may not seem intuitive but it truly is - on both HP and TI calculators. For discussion, we can refer to the 'y' value by its real name, 'base', and the 'x' value by its real name, 'exponent'. In fact, the name has to be 'weird' to have the arguments entered in 'natural' order.
Real HP calcs have a 4-level stack (X,Y,Z, and T registers), and also a LastX register too. So to perform this calc we key in    [B]base[/B] [ENTER] [B]exponent[/B] [Y^X] After ENTER is hit, the base value is lifted to the Y register, and the X register receives the exponent. On TI/AOS calcs, Y^X works similarly but with infix, not postfix notation:    [B]base[/B] [Y^X] [B]exponent[/B] [=] On these calcs, the 'held value' - the base - gets stored in a "y" register pending calculation. (That's why you'll also see an [x<>y] (exchange x with y) on many of these calcs.
Re: What does the HP20S function "yx" do??? - Eduardo Abril de Fontcuberta - 03-11-2005
Thank you to all !!!!! |