Given:
The number of students who like orange soda is n(O) = 22.
The number of students like Pepsi is n(P) = 34.
The number of students who like coke is n(C) = 20.
The number of students who like grapes is n(G) = 29.
The objective is to like the number of students like coke is 500 students are surveyed.
Step-by-step explanation:
The total number of students surveyed initially is,
![\begin{gathered} N=n(O)+n(P)+n(C)+n(G) \\ =22+34+20+29 \\ =105 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9ffa9hn935tdq1gw9838kbu6ockeyv3m58.png)
Then, the ratio of number of students who like coke is,
![\begin{gathered} r(C)=(n(C))/(N) \\ r(C)=(20)/(105)\text{ . . . . .(1)} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/hhh46i7d60q8ol3puuuma2m68ocgdv9m60.png)
If 500 students are surveyed, the ratio of coke will be,
![r(C)=(n^(\prime)(C))/(500)\text{ . .. .. (2)}](https://img.qammunity.org/2023/formulas/mathematics/college/udtlzbhpwys9oer7x1jg4t8y6mje9momp6.png)
Here, n'(C) represents the number of students who like coke when 500 students are surveyed.
To find n'(C):
On equating both equations (1) and (2),
![(n^(\prime)(C))/(500)=(20)/(105)](https://img.qammunity.org/2023/formulas/mathematics/college/2flilqkqodko6ix313v19a8g6c1ixrgapw.png)
On further solving the above equation,
![undefined]()