HP Forums
Powers of Matrices on 49G - 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: Powers of Matrices on 49G (/thread-24337.html)



Powers of Matrices on 49G - Stercus - 11-25-2002

I have been searching the manual for about ½ hour to find out how I raise a matrix to for example 7. I am not sure exactly what it is called so here is an example:

[Matrix]^7

BTW are there more places to get help for HP calculators than here? I would like to know if there was newsgroups and more forums and so.


Re: Powers of Matrices on 49G - James M. Prange (Michigan) - 11-25-2002

First, I have to say that I don't know what the result of raising a matrix to a power should be. Assuming that your 49G is in RPN mode, enter the matrix (for example, [[ 1 2 ] [ 3 4 ]]), enter the exponent (7 in this example), and press the YX ([Q]) key. The 49G returns [[ 30853 44966 ] [ 67449 98302 ]]. Is that correct?

A newsgroup that discusses the 49G is comp.sys.hp48. Don't let the "hp48" part discourage you; it includes "similar" calculators, that is, the 28 series, 48 series, 49G, and even the 38G, 39G, and 40G, and occasionally other calculators. I think that the 49G is probably the most often discussed calculator on the newsgroup lately. For an archive (about 99,800 threads at the momemt) of the newsgroup visit http://groups.google.com/groups?q=comp.sys.hp48.

For a huge source of information visit http://www.hpcalc.org/. You can also tap into the HP48 Ring at http://www.webring.org/cgi-bin/webring?ring=hp48&list.

To get the most up-to-date flash "ROM", visit http://www.epita.fr/~avenar_j/hp/49.html.

In general search the web for "HP 49" or "HP 48".

Regards,
James


Re: Powers of Matrices on 49G - R Lion (Spain) - 11-25-2002

Put the matrix on level 1. Put 7 on level 2. Press Y^X.

News Group: comp.sys.hp48

Raul


Re: Powers of Matrices on 49G - Tom Sherman - 11-25-2002

The TI-83 (dare I mention it?) gives the same answer (is that confirmation, or the opposite?), and its manual is clear about how to do it. (This is one reason HP is in trouble.) Since the TI-83 is algebraic, it is just entered as [Matrix]^7.

Of course the matrix has to be square in order to be multiplied by itself.


Re: Powers of Matrices on 49G - Stercus - 11-26-2002

I have done exactly what you suggested and as I thought I should do, but I get this error message:
^ Error:
Bad Argument Type.

Will an update of the calculator solve that problem?


Re: Powers of Matrices on 49G - R Lion (Spain) - 11-26-2002

I use a 48GX with Erable: that's exactly what I must do for getting the result. I tested it in my "virtual" 49 (emu48) before posting, and, as expected, I got the same answer.
I can only say that I'm using the last ROM...
You are in RPN mode, aren't you?

Raul


Re: Powers of Matrices on 49G - James M. Prange (Michigan) - 11-27-2002

You should have the matrix on level 2 and the exponent on level 1 before you press the YX key.

I don't know about the other ROMs, but it works for me with both revision 1.18 and revision 1.19-6.

Regards,
James


Re: Powers of Matrices on 49G - R Lion (Spain) - 11-27-2002

As James says, just upside down: matrix in level 2 and exponent in level 1.
Sorry for the mistake.
Raul


Re: Powers of Matrices on 49G - Stercus - 11-27-2002

It seemed to be an update it took to make it possible. Thanks for your help.


Re: Powers of Matrices on 49G - Karl Schneider - 11-28-2002

Interesting! This brings up the logical question: How would one perform A^7 on other HP's with built-in matrix support? Here are my answers:

HP-42S:

y^x is not supported for matrices. Don't use the x^2 function, because that will only square each matrix element. Instead, after loading the square matrix with the descriptor in the X-register:

ENTER, ENTER, ENTER, X, X, X, X, X, X
or,
ENTER, ENTER, X, ENTER, ENTER, X, X, X


HP-15C:

The result matrix cannot be stored to the same name (A, B, C, D, or E) as the name of either multiplicand matrix. With the square matrix loaded into "A":

RCL MATRIX A, ENTER, RESULT B, X, ENTER, RESULT C, X, RCL MATRIX B, RESULT D, X, RCL MATRIX A, RESULT B, X

A bit cumbersome, but there's enough memory to perform A^7 (or any n) for a 4x4 real-valued matrix A!


HP-41 with Math, Math/Stat, or Advantage module:

Suggestions? I have the eqipment, but haven't learned the added-on matrix functions for the 41.