Powers of Matrices on 49G



#11

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.


#12

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


#13

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.

#14

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.

#15

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

News Group: comp.sys.hp48

Raul


#16

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?


#17

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

#18

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

#19

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


#20

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime Matrices curiosity bluesun08 0 249 12-09-2013, 06:44 PM
Last Post: bluesun08
  [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 401 12-07-2013, 07:15 PM
Last Post: CompSystems
  HP Prime: matrices in programs, in need of help Alberto Candel 9 651 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  HP 50g - question about matrices arrays vectors etc. Sean Freeman 6 538 11-14-2013, 01:44 PM
Last Post: peacecalc
  HP Prime SIZE and OBJ-> with matrices/vectors/lists Helge Gabert 8 586 09-27-2013, 05:44 PM
Last Post: Helge Gabert
  Programming with Matrices Han 10 618 09-25-2013, 03:59 PM
Last Post: Han
  [HP-prime] Parallel Processing, vectors, matrices as a only data type =( CompSystems 1 254 08-08-2013, 04:48 PM
Last Post: peacecalc
  Matrices on HP39gii (Cautionary Tale) Eddie W. Shore 2 298 03-23-2013, 07:54 PM
Last Post: Gilles Carpentier
  HP 50g - collect by powers of x Juraj O. 9 463 02-18-2013, 05:09 AM
Last Post: C.Ret
  HP-35 powers with negative numbers Dan Lewis 26 1,253 01-26-2012, 02:41 AM
Last Post: Nick_S

Forum Jump: