50G ABS function perplexing


Hi folks,

The ABS (absolute value) function on my 50G is not acting as expected. When I try to apply it to an un-evaluated algebraic expression in stack level 1, I don't get the expected set of verticle brackets around the expression. If I construct the algebraic in the equation writer the ABS function works fine there, and subsequintly transitions to the stack OK. It just won't tag an expression in the stack. When I use the ABS function on a negative numerical value in level 1, the negative sign goes away as expected.

Other functions, such as IP, FP, etc., work fine in the stack (ie, brackets around the expression preceeded by the function). Is there a flag or setting I need to look at. This is rather strange.

I know I've tagged algebraics (in the stack) with the ABS function in the past, and just to be sure I'm not dreaming, I tried it on my 48GX and got the ABS tag just as expected.

Any help on this greatly appreciated.

Best regards, Hal


Don't know if I understand you correctly but I just tried this on my 50G in RPN mode:



Left Shift-ABS

-(7-11) is displayed




Left Shift-ABS

3+5 is displayed

...like I would expect.

In ALG mode I enter

Left Shift-ABS and get
ABS() with the cursor between the brackets, further entering


and pressing





with the first part on the left side and the 8 on the right side of the screen one line below.
...as expected.

Edited: 23 Apr 2008, 5:12 a.m.


Hi George, and thanks for your response,

Specifically, what I'm doing is trying to build the expression ABS(5*sinx) in the stack. In RPN mode my keystrokes are: 5 enter x sin * , which puts 5*sin(x) in stack level 1. I then hit left shift ABS, which should tag the expression with ABS brackets, but nothing happens. (Incedentally, accessing ABS in the MTH-REAL menu gives me the same thing...nothing)

These exact same keystrokes on the 48GX give me ABS(5*sin(x)) in stack level 1.

I don't understand why this functionality would not be present on the 50G. I would hate to have to build my expressions in the equation writer environment...it's much easier for me to build them right on the stack.

Any thoughts about this anyone?

Best regards, Hal


It seems I didn't have "Rigorous" checked in the CAS settings, which will cause the machine to simplify ABS(x) to x.

I should have looked at the CAS setting more carefully before posting...my appologies for that.

Best regards, Hal


I'd find that perplexing too...

I know HP calcs are fast,

but why would one need Anti-lock Braking System (ABS).



dona nobis pacem


I suspected one of the 256 flag settings, but I could not name it, Sam

Possibly Related Threads…
Thread Author Replies Views Last Post
  [HP-PIRME] BUG Pretty Print, Solution: abs => |...|, ABS => ||...|| CompSystems 2 2,092 12-13-2013, 09:36 AM
Last Post: CompSystems
  HP50g: Writing a function that returns a function Chris de Castro 2 2,073 12-10-2013, 06:49 PM
Last Post: Han
  [hp 50g]Recall quickly a built-in function Pier Aiello 10 2,747 08-05-2013, 09:38 PM
Last Post: Robert Prosperi
  Riemann's Zeta Function update (HP-28S, HP-48G/GX/G+, HP-49G/G+/50g) Gerson W. Barbosa 0 1,057 06-30-2013, 01:01 AM
Last Post: Gerson W. Barbosa
  A quickie: improve the HP 50g IABCUV function Peter Murphy (Livermore) 14 3,354 02-03-2013, 09:56 AM
Last Post: Thomas Klemm
  Riemann's Zeta Function (HP 50g) Gerson W. Barbosa 20 4,547 12-17-2012, 08:49 PM
Last Post: Gerson W. Barbosa
  Zeta Function [HP 50g] Gerson W. Barbosa 14 4,136 11-14-2012, 03:29 PM
Last Post: Gerson W. Barbosa
  Preview of the 'Full Command and Function Reference' inside your HP 50g / HELP for *all* commands. Software49g 1 1,065 12-18-2011, 03:07 PM
Last Post: Software49g
  HP 50g: Full Command and Function Reference incorporated into the O.S. Software49g 2 1,124 10-22-2011, 07:53 PM
Last Post: Software49g
  Switched from 48G to 50G and need shortcut to RAND function Travis (Kansas) 3 1,142 07-26-2011, 10:14 PM
Last Post: Allen

Forum Jump: