To find mean:
1) Add up all data values to get the sum
2) Count the number of values in your data set
3) Divide the sum by the count
First we have to find all the data values. We do this by finding all of the peas, not just the information numbers of peas in a pod.
4 x 2 = 8
5 x 10 = 50
6 x 18 = 108
7 x 14 = 98
8 x 6 = 48
8 + 50 + 108 + 98 + 48 = 312 total number of peas
2 + 10 + 18 + 14 + 6 = 50
312 / 50 = 6.24 peas per pod
So in our example the mean number of peas in a pod is 6.24.
I hope this helps! :)