![]() |
HP 20b: +/- and ANS (or CHS and LASTx) - 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: HP 20b: +/- and ANS (or CHS and LASTx) (/thread-145212.html) |
HP 20b: +/- and ANS (or CHS and LASTx) - Thomas Klemm - 12-26-2008 HP 20b Using the RPN stack to solve problems efficiently
This solution works on all RPN-calculators I know but gives -0.91 on HP 20b instead. The reason is that +/- copies register X to ANS. Thus the 2nd ANS returns 1/x instead of x. Microchallenge: Can you help HP and find the correct sequence?
Here's the link to get all HP 20b Training Modules.
Re: HP 20b: +/- and ANS (or CHS and LASTx) - valentino ducati - 12-26-2008 Prologue Re: HP 20b: +/- and ANS (or CHS and LASTx) - Thomas Klemm - 12-26-2008 You've cheated a little since ANS is shifted. But still we can do it with 20 keystrokes:
3.4567 |