Originally posted by r035198x
For example, I happen to know as a rule of thumb that Indianapolis is about 200 miles from Chicago. Suppose I drive to Indianapolis and then fill my gas tank by buying 11 gallons of gas. How many miles/gallon did I get from my car?
If I divide 200 by 11 on my calculator I get 18.18181818, but all those decimal digits are a false precision. The distance was only approximately 200 miles; and my gas tank wasn't full when I left, so fuel usage was less than 11 gallons.
The rules of significant digits suggest that the more correct answer is 20 miles per gallon. "200 miles" has one significant digit and "11 gallons" has two significant digits. The final answer should have no more significant digits than the most inexact input; that is, one significant digit.
Referring to your specific problem ... age is entered as an integer. Unless today is the animal's birthday, an integer value is only an approximation of the animal's age. If all the animal ages are between 0 and 10, then that's one significant digit. It is false precision to compute an average age that has more than one significant digit.
On the other hand, your teacher may be expecting to see decimal digits and might reduce your grade if they are missing.
Comment