50G ABS function perplexing



#7

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


#8

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

'7-11'

ENTER

Left Shift-ABS

-(7-11) is displayed

Then:

'3+5'

ENTER

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

3+5

and pressing

ENTER

yields

:|3+5|

8

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.


#9

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

#10

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

#11

I'd find that perplexing too...

I know HP calcs are fast,

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

<grin>

Ren

dona nobis pacem


#12

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 539 12-13-2013, 09:36 AM
Last Post: CompSystems
  HP50g: Writing a function that returns a function Chris de Castro 2 503 12-10-2013, 06:49 PM
Last Post: Han
  [hp 50g]Recall quickly a built-in function Pier Aiello 10 701 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 266 06-30-2013, 01:01 AM
Last Post: Gerson W. Barbosa
  A quickie: improve the HP 50g IABCUV function Peter Murphy (Livermore) 14 798 02-03-2013, 09:56 AM
Last Post: Thomas Klemm
  Riemann's Zeta Function (HP 50g) Gerson W. Barbosa 20 1,133 12-17-2012, 08:49 PM
Last Post: Gerson W. Barbosa
  Zeta Function [HP 50g] Gerson W. Barbosa 14 992 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 269 12-18-2011, 03:07 PM
Last Post: Software49g
  HP 50g: Full Command and Function Reference incorporated into the O.S. Software49g 2 277 10-22-2011, 07:53 PM
Last Post: Software49g
  Switched from 48G to 50G and need shortcut to RAND function Travis (Kansas) 3 345 07-26-2011, 10:14 PM
Last Post: Allen

Forum Jump: