What does the "approx" key do in RPN mode?

05162020, 08:01 PM
Post: #1




What does the "approx" key do in RPN mode?
Hello,
Wenn I press ShiftEnter 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! 

05172020, 05:59 AM
Post: #2




RE: What does the "approx" key do in RPN mode?
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. 

05172020, 06:02 AM
Post: #3




RE: What does the "approx" key do in RPN mode?
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.


« Next Oldest  Next Newest »

User(s) browsing this thread: