SOLUTION.
The barrel and the cub are both cylinders. To find how many cups that will fill the barrel, we find the volumes of both the cup and the barrel and divide that of the barrel by the cup
Volume of a cylinder is given as
[tex]\begin{gathered} \text{Volume = }\pi r^2h,\text{ r is radius and h is height of the cylinder } \\ radius\text{ of the barrel = }12,\text{ height = 24} \\ \text{Volume of barrel = }\pi r^2h \\ \text{Volume of barrel = 3.14}\times12^2\times24 \\ \text{Volume of barrel = }10851.84inch^3 \end{gathered}[/tex]Volume of the cub becomes
[tex]\begin{gathered} \text{radius of cup = }\frac{4}{2}=2 \\ \text{Volume of barrel = }\pi r^2h \\ \text{Volume of cup = }3.14\times2^2\times6 \\ \text{Volume of cup = }75.36inches^3 \end{gathered}[/tex]Number of cups become
[tex]\frac{10851.84}{75.36}\text{ = 144 cups }[/tex]