Optimizing Round-Off Accuracy in Source Spectrum Calculations

  • Thread starter Thread starter DEvens
  • Start date Start date
  • Tags Tags
    Stupid
Click For Summary
The discussion centers on the impact of rounding errors in data analysis, specifically when calculating a source spectrum per cubic meter from a total volume of 100,016 cubic meters. The original data was limited to three significant digits, leading to consistent fractional differences of 1.6E-4 across forty values when compared to another analyst's calculations. This phenomenon highlights how rounding can significantly affect results, echoing historical examples like Ed Lorenz's weather model, where similar rounding issues led to substantial prediction errors. The conversation underscores the importance of precision in data handling and the potential chaos that can arise from seemingly minor rounding discrepancies.
DEvens
Homework Helper
Education Advisor
Gold Member
Messages
1,227
Reaction score
486
TL;DR
Quirk of calculation produced a consistent round-off value over man data entries
So the sequences was the following.

Data was provided for a parameter in a standardized situation. This was a source spectrum for a total volume of material.

We needed the source spectrum per cubic meter. There are 100,016 cubic meters in the total volume. Simple division.

So then I come along and compare what was calculated to what the other analyst put in the file. And, since we only keep 3 digits (the stats will erase anything more) I am expecting there to be small differences. So I copy-paste the data into a spreadsheet, take the difference, and divide by the original value.

And every single fractional difference is 1.6E-4. Forty values in a row. Hmm... Hmmm... Oh yes. The original data for the total volume is 3 digits. So the terminal digit is always zero. So the way roundoff works, that divide-by 100,016, then the round-off bumps it up by 1.6E-4 every time.
 
Computer science news on Phys.org
Round off leads to chaos as detailed in the story of its discovery. In particular, listen to the story of Ed Lorenz and how round-off changed his weather model predictions (at 4:45 mark)

 
  • Like
Likes Merlin3189
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
980
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
9
Views
2K