Post Reply 
how should a calculator parse bracketed numbers? Do we need a mode setting
01-07-2016, 12:22 AM
Post: #1
how should a calculator parse bracketed numbers? Do we need a mode setting
Many calculators have an implied multiply and mathematicians may not be surprised if
2(4)
Returns
8.

But physicists sometimes use a similar syntax to represent uncertainty in a measurement:

3.14(23)
Is understood to mean something like
a number between 3.14+0.0023 and 3.14-0.0023
(Perhaps that's not quite right, but its not 3.14*23).

So if I am trying to parse a number in a cell or a string or a file and it contains
3.14(23)

(1) how can I tell what it means?
(2) how can a calculator tell what it means?
(3) do any calculators have a maths/physics mode?
(4) Or is there a subtle difference in the syntax that I have misread?

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
how should a calculator parse bracketed numbers? Do we need a mode setting - StephenG1CMZ - 01-07-2016 12:22 AM



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