Approximately 3 bottles are needed to buy to completely fill the 6 glasses you need
Solution:
Given that,
A small bottle of Dr.Pepper holds 31.2 cm^3 of the delicious drink
Therefore,

For a New Years Eve party, you need enough juice to fill 6 cone- shaped glasses that have a 4 cm diameter and a 3 cm height
Find the volume of cone

Where, r is the radius and h is the height
Diameter = 4 cm
Radius = 4/2 = 2 cm
Height = 3 cm
Therefore,

Thus, for 6 cone shaped glasses:
Volume of 6 cone shaped galsses = 12.56 x 6 = 75.36

How many full bottles of Dr. Pepper do you need to buy to completely fill the 6 glasses you need?

Thus approximately 3 bottles are needed to buy to completely fill the 6 glasses you need