Question 887733
x    f    f*x
0     8     0
1    10    10
2    12    24
3     3     9
4     5    20
5     2    10
---------------
sum  40    73

mean=sum(f*x)/sum(f)=73/40=1.825

therefore, the average number of defective piece per sample is 1.825.