Will my numbers add up correctly if I round them?
David Hopkins
Abstract
David Hopkins
Abstract
I recently wrote a solution to a student problem. The answers were the probabilities for four possible outcomes. As a check on the calculations, I wanted to say ‘As expected, these probabilities add up to 1.’ However, they didn't! Because of rounding, the probabilities (which I was quoting to four decimal places) only added up to 0.9999. To rescue the situation I tried rounding to 3DP or 5DP instead, but these didn't add up correctly either.
OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
I recently wrote a solution to a student problem. The answers were the probabilities for four possible outcomes. As a check on the calculations, I wanted to say ‘As expected, these probabilities add up to 1.’ However, they didn't! Because of rounding, the probabilities (which I was quoting to four decimal places) only added up to 0.9999. To rescue the situation I tried rounding to 3DP or 5DP instead, but these didn't add up correctly either.
Key concepts: Rounding, Decimal, Arithmetic, Computer science, Mathematical economics, Mathematics, Calculus (dental), Combinatorics