newRPL: symbolic numbers
|
12-24-2014, 11:12 AM
(This post was last modified: 12-24-2014 04:30 PM by Gilles.)
Post: #12
|
|||
|
|||
RE: newRPL: symbolic numbers
It seems to me there is a confusion between 'symbolic' and 'exact' here.
Note that the way the 50G works is very different depending of FLAG 03 set or not Claudio L. Wrote:Following the idea that an approximated number "turns" an exact number into approximated this would be: In my opinion, the HP50G 'philosophy' is that there is very few automatic evaluation with symbolic calculation so,i prefer : Code:
I like the idea to have a full control of what happens... Claudio L. Wrote:The other approach would be the opposite: exact numbers turn approximated numbers into exact: I hate this way Why don't keep something like the approx ( ~ )and exact ( = ) on the 50G with some improvments ? in '=' mode ( CAS mode ?) : - All is symbolic, you have to do ->NUM to get a numeric (no symbolic) result. - functions returns symbolic results enter 12 will return '12' (algebraic object) enter 12. will return '12.' (algebraic) enter '12.' will return '12.' (algebraic) ex: Code: 1 1 2 / + -> '1+1/2' EVAL -> '3/2' in '~' mode (numeric mode): - All is numeric, you have to quote 'xxx' for algebraic - functions returns numeric results (and an error if there are undefined values) enter 12 is the same as 12. but you can force '12' to get the algebraic object '12' with an integer inside. or '12.' for an algebraic object '12.' with a real only inside ex Code: 12 -> 12. The difference between = and ~ will be essentialy in the way to input the data in the calc to reduce keystrokes and numeric or algebraic output for functions (that means that there must be a difference between a function (manipulation of algebraic objects) and programs (manipulation of all kinds of objects ...). = more oriented 'math' (CAS) ~ more oriented 'physics' and numeric calculations The other major difference will be that with "= mode" '1' 1. + -> '1+1.' and in "~ mode" '1' 1. + -> 2. In others words Code:
= and ~ just change few (but important) things for more easy use and less keystrokes. You can easily toggle from = to ~ with Shift & ENTER. ~ mode works in the same way of the old 48 serie == mode is near the 'exact' mode of the 49/50G series but different in some way (and more logical for me but probably i miss some points) . Note that in this configuration you _must_ use symbolic to work with 'infinite" integer. (but i've not understand how new RPL will work for this ...). Just my 2 cents ! I'm quite sure that what I write here is not fully coherent and more 'theoric' thoughts is needed for this. The keys: - functions returns 'sym' or 'num' ? - exact vs approx - is there an 'infinite integer' type or not ? - When 'evaluate' ? - SIMPLIFY vs EVAL |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)