Make a box-and-whisker plot out of the data

21,12,22,20,13,13,27,24

First, we need to find the median (middle number) of the data set:

12, 13, 13, 20, 21, 22, 24, 27

The median is the average of the middle two numbers:

(20 + 21) / 2 = 20.5

Next, we need to find the lower and upper quartiles. The lower quartile is the median of the lower half of the data set, and the upper quartile is the median of the upper half of the data set:

Lower half: 12, 13, 13, 20

Upper half: 21, 22, 24, 27

Lower quartile: (13 + 13) / 2 = 13

Upper quartile: (22 + 24) / 2 = 23

Now we can plot the box-and-whisker plot. The box represents the middle 50% of the data (between the lower and upper quartiles), and the whiskers represent the minimum and maximum values:

Minimum: 12
Maximum: 27
Lower quartile: 13
Upper quartile: 23
Median: 20.5

|----|
----| |----
12 20.5 27
|----|

So the box-and-whisker plot for this data set looks like this.