2. The table shows the number of bad oranges a trader bought.

No of bad oranges 0 1 2 3 4 5
No of baskets 5 8 6 6 3 2
Calculate the mean deviation of the distribution above.
Please with full solution and formula for mean deviation

Mean Deviation = (∑|x - x̅|)/n

Where x is the number of bad oranges, x̅ is the mean of the distribution, and n is the total number of baskets.

x = 0, 1, 2, 3, 4, 5
x̅ = (0 + 1 + 2 + 3 + 4 + 5)/6 = 3
n = 5 + 8 + 6 + 6 + 3 + 2 = 30

Mean Deviation = (|0 - 3| + |1 - 3| + |2 - 3| + |3 - 3| + |4 - 3| + |5 - 3|)/30

Mean Deviation = (3 + 2 + 1 + 0 + 1 + 2)/30

Mean Deviation = 9/30

Mean Deviation = 0.3