Post Reply 
newRPL: symbolic numbers
12-23-2014, 05:57 PM
Post: #7
RE: newRPL: symbolic numbers
In Mathematica (from memory) and in the AUTO mode (i.e., neither EXACT nor APPROX) on TI calculators such as the TI-89, the status of a number as exact or approximate is indicated by the presence or absence of a decimal point. So 40320 is an exact number, while 40320. is approximate. Sin[4] in Mathematica simply returns Sin[4] (i.e., no evalulation), whereas Sin[4.] returns a real number. One approximate number in a calculation poisons the rest of the calculation, so that 3/2 +0.5 would be 2. rather than 2 , and substituting d=7. into 'r=d/2' would give 3.5 for r.

I have always found this to work well. When using my TI calculators (yes! I do use them and I'm not ashamed!!) I cannot remember ever needing the EXACT or APPROXIMATE modes.

I think that the quoting idea could work in the same way as the decimal point approach so long as one unquoted number poisons the entire expression it appears in. I think this is reasonable: if one number is inexact, anything calculated from that number must also be inexact. Maybe the decimal point approach would be easier for the user to enter, though? It is quicker to type 2*(3+4) than '2'*('3'+'4'). However, the elegance of the quoting idea is very appealing! I'm really not sure what is best.

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
newRPL: symbolic numbers - Claudio L. - 12-22-2014, 11:01 PM
RE: newRPL: symbolic numbers - John Galt - 12-23-2014, 01:13 AM
RE: newRPL: symbolic numbers - Claudio L. - 12-23-2014, 03:34 PM
RE: newRPL: symbolic numbers - Nigel (UK) - 12-23-2014, 12:06 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-23-2014, 03:10 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-23-2014, 05:22 PM
RE: newRPL: symbolic numbers - Nigel (UK) - 12-23-2014 05:57 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-23-2014, 09:01 PM
RE: newRPL: symbolic numbers - Nigel (UK) - 12-23-2014, 09:49 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-24-2014, 03:15 AM
RE: newRPL: symbolic numbers - brouhaha - 12-23-2014, 09:27 PM
RE: newRPL: symbolic numbers - Gilles - 12-24-2014, 11:12 AM
RE: newRPL: symbolic numbers - Claudio L. - 12-24-2014, 07:51 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-29-2014, 03:19 PM
RE: newRPL: symbolic numbers - Gilles - 12-29-2014, 07:38 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-29-2014, 10:21 PM
RE: newRPL: symbolic numbers - Han - 12-29-2014, 09:33 PM
RE: newRPL: symbolic numbers - Gilles - 12-30-2014, 10:00 AM
RE: newRPL: symbolic numbers - Claudio L. - 12-30-2014, 02:19 PM
RE: newRPL: symbolic numbers - rprosperi - 12-30-2014, 02:26 PM
RE: newRPL: symbolic numbers - Han - 12-30-2014, 04:50 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-30-2014, 07:18 PM
RE: newRPL: symbolic numbers - Gilles - 12-30-2014, 10:18 PM
RE: newRPL: symbolic numbers - Claudio L. - 12-30-2014, 10:39 PM



User(s) browsing this thread: 2 Guest(s)