What does the "approx" key do in RPN mode? - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: What does the "approx" key do in RPN mode? (/thread-15005.html) |
What does the "approx" key do in RPN mode? - anyfoo - 05-16-2020 08:01 PM Hello, Wenn I press Shift-Enter in RPN mode, I get an empty matrix ("[]") on the stack. Regardless of whether anything's on the stack at all, so I guess it's independent. What's that for? Thanks! RE: What does the "approx" key do in RPN mode? - pinkman - 05-17-2020 05:59 AM Shift Enter calls approx(). approx() is a CAS command. In CAS view it takes the selected or the last value on the stack and returns a numerical approximation. If you call approx() with no arguments, it returns []. In home view (Textbook or Algebraic mode) it shows the command and you can add arguments. In Home view RPN mode it runs the command directly, so you can’t see that no arguments are given. If you really need to use approx() in RPN mode (but maybe you needed EVAL on the shift comma key), put your arguments on the stacks, then call approx(1) to approximate the expression on stack 1, or approx(2) to approximate the expression on stack 2 with precision given on stack 1. RE: What does the "approx" key do in RPN mode? - anyfoo - 05-17-2020 06:02 AM Thanks. I don't think I need that, since I can usually just press the "a b/c" key, which cycles between decimal, fraction, and mixed number form. |