To find the median number of states visited by Mr. Morgan's students based on the given data, we first need to list the number of states visited by each student based on the frequency provided:
- 1 state visited: 8 students
- 2 states visited: 4 students
- 3 states visited: 3 students
- 4 states visited: 2 students
- 5 states visited: 1 student
- 6 states visited: 1 student
Now, let's generate the complete list of states visited by the students:
- 1 (visited by 8 students): 1, 1, 1, 1, 1, 1, 1, 1
- 2 (visited by 4 students): 2, 2, 2, 2
- 3 (visited by 3 students): 3, 3, 3
- 4 (visited by 2 students): 4, 4
- 5 (visited by 1 student): 5
- 6 (visited by 1 student): 6
Now we arrange this in order: 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 6
There are a total of 18 students. Since 18 is an even number, the median will be the average of the 9th and 10th values in this ordered list.
Counting: 1, 1, 1, 1, 1, 1, 1, 1, 2 (9th value), 2 (10th value), 2, 2, 3, 3, 3, 4, 4, 5, 6
The 9th and 10th values are both 2.
Now, we calculate the median: Median = (2 + 2) / 2 = 2
Thus, the median number of states visited by the students in Mr. Morgan's class is 2.