Explanation:
1)
Sorted data:
31, 38, 39, 40, 41, 45, 45, 45. 46, 58
Q1 = (n+1)/4 = position 2.75 --> position 3.
Q1 = 39
Q2 = position 5.5.
= (41 +45)/2 =43
Q3 = 3(n+1)/4 = 8.25 --> position 8
Q3 = 45
2)
IQR = Q3 - Q1
= 45 - 39
=6
3)
Upper fence = Q3 + 1.5IQR
= 45 + 9
= 54
Lower fence = Q1 - 1.5IQR
= 30
4) There is one outlier - 58.