To calculate the range of a data set, you subtract the smallest value from the largest value.
First, we identify the smallest and largest numbers in the data set:
- The data set is: 31, 35, 49, 32, 45, 29, 33, 28, and 40.
- The smallest value (minimum) is 28.
- The largest value (maximum) is 49.
Now, we calculate the range:
\[ \text{Range} = \text{Maximum} - \text{Minimum} = 49 - 28 = 21 \]
So, the range of this data set is 21 miles.
The correct answer is:
B) 21 miles