We have a sample from the population about their favourite snack.
We can use it to estimate the number of people that will prefer cake.
We can start by calculating the proportion of people that prefer cake from the information of the sample:
![p=(x)/(n)=(27)/(27+20+70+63)=(20)/(180)=(1)/(9)](https://img.qammunity.org/2023/formulas/mathematics/college/68f38mvi3m7pum53xdipupq7rumsw9eq2s.png)
where x: number of people from the sample that prefer cake, and n: sample size (number of people that participate in the sample).
Then, we can estimate the expected number of people that will prefer cake using the the total number of people that will assist (N=3200) and the proportion we have just calculated (p=1/9):
![Y=N\cdot p=3200\cdot(1)/(9)=(3200)/(9)\approx355.55\approx356](https://img.qammunity.org/2023/formulas/mathematics/college/klrn4k592kuwiuapway40mu7rke876ki7u.png)
Answer: it is expected that 356 people will have cake as favourite snack.