(a) To find the median for Company A, list the diameters in order: 0.330, 0.331, 0.332, 0.333, 0.334, 0.335, 0.336, 0.337, 0.338, 0.339, 0.340, 0.341, 0.342, 0.343, 0.344, 0.345, 0.346, 0.347, 0.348. The median is the 10th value, which is 0.355 cm.
To find the interquartile range (IQR), calculate the lower quartile (Q1) and upper quartile (Q3). Q1 is the 5th value, 0.348 cm, and Q3 is the 15th value, 0.366 cm. Thus, IQR = Q3 - Q1 = 0.366 - 0.348 = 0.018 cm.
(b) Draw box-and-whisker plots using the given quartiles for Company B and calculated quartiles for Company A. Ensure the plots are accurately labeled and scaled.
(c) One comparison could be that Company B has a wider interquartile range than Company A, indicating more variability in the diameters of pipes produced by Company B.