Post Reply 
Error margins
11-09-2024, 09:05 PM
Post: #21
RE: Error margins
(10-27-2024 01:45 PM)Maximilian Hohmann Wrote:  Hello,

over the last two days we have been treated to fascinating demonstations and insights into Christophe de Dinechin's ongoing development and refinement of his DB48X project. When you see the developer present his product you instinctively think: "This is the calculator that I want to have!", even if you don't really need it :-)

On my way home I thought about it and the arbitrary precision arithmetic implemented and how that relates to real life uses. During my study time we had to do eperiments / measurements, e.g. some wind-tunnel measurements, process the data and write a report about it. This always had to include an error analyis, which - for me at least - was the most difficult and tedious part.

I have no idea if that already exists somewhere (I guess it does but I don't have seen it yet), but a data type "Real World Number" that includes a value, an error margin, the unit (optional) and maybe the sensor designation so that you don't have to enter the data every time.
For example the datasheet of an arbitrarily selected digital laboratory thermometer for the range between -50°C and 250°C states a typical error of +/-0.648°C. So a real world measurement input of 33.5°C from that sensor might look like this: [33.5;-0.648;0.648;°C;"MCC USB-TC"]

Interesting. A related idea is "inverval arithmetic". The basic idea is to have arithmetic on intervals Low...High, where you do computations on Low rounding down, and on High rounding up.

Getting this right is quite difficult. Consider something as simple as the sin() function. Internally, this is implemented with a number of alternating additions and subtractions, and depending on the sign, figuring out how you need to setup your rounding is not a trivial problem. Also, since these functions are periodic, as soon as the input interval is wider than 2π, the only valid output is -1...1 which is not super useful. Digit cancellation is problematic. And so on.

There is a reason error analysis in real life is hard ;-)

Quote:Now wouldn't it be useful if the calculator could "propagate" that error through all the calculations done with data of this type and, combined with the other input data and their own error margins, give an end result that contains the total error margin? Again, this may already exist in some form, but I have yet so see it.

Regards
Max

DB48X,HP,me
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Error margins - Maximilian Hohmann - 10-27-2024, 01:45 PM
RE: Error margins - Thomas Klemm - 10-27-2024, 02:51 PM
RE: Error margins - Albert Chan - 10-28-2024, 03:33 PM
RE: Error margins - born2laser - 10-28-2024, 04:59 PM
RE: Error margins - Albert Chan - 10-28-2024, 05:34 PM
RE: Error margins - carey - 10-28-2024, 05:47 PM
RE: Error margins - born2laser - 10-28-2024, 08:35 PM
RE: Error margins - carey - 10-28-2024, 09:37 PM
RE: Error margins - Albert Chan - 10-29-2024, 03:07 PM
RE: Error margins - LinusSch - 10-27-2024, 06:12 PM
RE: Error margins - dm319 - 10-28-2024, 08:23 AM
RE: Error margins - LinusSch - 10-28-2024, 03:02 PM
RE: Error margins - dm319 - 10-28-2024, 03:31 PM
RE: Error margins - raprism - 10-28-2024, 07:24 PM
RE: Error margins - Albert Chan - 10-28-2024, 08:08 PM
RE: Error margins - Thomas Klemm - 10-28-2024, 07:49 PM
RE: Error margins - Mark Power - 10-28-2024, 08:39 PM
RE: Error margins - Thomas Klemm - 10-28-2024, 10:24 PM
RE: Error margins - Thomas Klemm - 11-01-2024, 11:27 AM
RE: Error margins - Thomas Klemm - 11-01-2024, 11:28 AM
RE: Error margins - c3d - 11-09-2024 09:05 PM
RE: Error margins - raprism - 11-11-2024, 11:41 AM
RE: Error margins - Albert Chan - 11-11-2024, 12:10 PM
RE: Error margins - raprism - 11-11-2024, 12:46 PM
RE: Error margins - Csaba Tizedes - 11-11-2024, 10:18 AM



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