The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

CAS commands don't work
Message #1 Posted by Laurynas on 5 Sept 2006, 4:38 p.m.

Hello. I have been learning to use my new HP 50g and then I found out that I can't execute any command from the CAT menu such as EXPLN; COLLECT; FACTOR etc. For example even if I use echo of let's say EXPLN (cos(X)) it gives me exactly the same answer: EXPLN (cos(X)) and no error or anything else is mentioned on the screen. I think the problem is any of the flags, but I've tried changing everything and I still can't find how to fix this problem. I hope someone can help me.. =}

      
Re: CAS commands don't work
Message #2 Posted by James M. Prange (Michigan) on 5 Sept 2006, 6:32 p.m.,
in response to message #1 by Laurynas

Wow! That's a weird bug. The CAT list on my 49g+ has it as EXP&LN, but the command name is really EXPLN.

For this one, just type EXPLN into the command line and press ENTER.

Regards,
James

            
Re: CAS commands don't work
Message #3 Posted by James M. Prange (Michigan) on 5 Sept 2006, 6:58 p.m.,
in response to message #2 by James M. Prange (Michigan)

PS:

Umm, no not bug after all.

The CAT choose box has both EXP&LN which invokes a menu or choose box of exponential and logarithmic operations, and EXPLN, which transforms the trigonometric terms in an expression to exponential and logarithmic terms.

But I suspect that you chose EXP&LN when you really wanted EXPLN (like I just did).

But there does seem to be a documentation bug in the AUR manual, which lists EX&LN instead of EXP&LN in the full command reference.

                  
Re: CAS commands don't work
Message #4 Posted by Gene Wright on 5 Sept 2006, 8:48 p.m.,
in response to message #3 by James M. Prange (Michigan)

Oops. :-)

      
Re: CAS commands don't work
Message #5 Posted by Marcus von Cube, Germany on 6 Sept 2006, 4:34 a.m.,
in response to message #1 by Laurynas

This looks very much like a problem in algebraic mode which does not occur in RPN mode.

In RPN:

'COS(X)' ENTER
EXPLN
evaluates nicely.

In ALG:

EXPLN(COS(X)) ENTER
just echoes the command. Adding single quotes or EVAL(...) around the expression doesn't do anything different. The output is always "EXPLN(COS(X))".

Is the CAS broken in ALG mode?

Another behaviour that I do not understand: If I press ' to start an algebraic expression (in RPN) and then select EXPLN from the catalog it is not echoed but executed directly on the empty expression. So EXPLN doesn't seem to be a function but a command. How do I enter commands in ALG mode?

Marcus


[ Return to Index | Top of Index ]

Go back to the main exhibit hall