Answer:
The number of apples in the 12th bag is 9
Explanation:
The Mean Value of a Data Set
The mean or average of a data set is found by adding all numbers and then dividing by the number of values in the set. Written as a formula:
![\displaystyle \bar x=\frac{\sum{x_i}}{n}](https://img.qammunity.org/2021/formulas/mathematics/high-school/2634cc8nrhlxufnajqg91vojzyupc0friu.png)
Where xi is the value of each data and n is the total number of values.
We are given the value of n=12 and the mean number of apples in each bag (8), thus:
![\displaystyle 8=\frac{\sum{x_i}}{12}](https://img.qammunity.org/2021/formulas/mathematics/high-school/mzk3r8eejwza6sutdah54fogqemoky1v5v.png)
Multiply by 12
![\sum{x_i}=96](https://img.qammunity.org/2021/formulas/mathematics/high-school/cnxplr48hc0d77xt0fqucqksdyi7kpvw1e.png)
This means the sum of all the values is 96. If we add the existing values from the table, considering their frequency, we have:
![6*1+7*4+8*2+9*3+10*1=87](https://img.qammunity.org/2021/formulas/mathematics/high-school/weol5krsuvi8x25qj23cdc2sqwo5jr7lz1.png)
Note the sum should be 96, so the 12th bag must have 96-87=9 apples
The number of apples in the 12th bag is 9