The ratio of gummy bears to gummy worms in a bag of candy is 5:4.

If there are 160 gummy worms in the bag of candy, how many gummy bears are in the bag of candy?

1 answer

To find the number of gummy bears in the bag of candy, we start by using the given ratio of gummy bears to gummy worms, which is 5:4.

Let the number of gummy bears be represented by \( b \) and the number of gummy worms be represented by \( w \). According to the ratio, we can express this as:

\[ \frac{b}{w} = \frac{5}{4} \]

We know from the problem that the number of gummy worms \( w \) is 160. We can substitute this value into the ratio:

\[ \frac{b}{160} = \frac{5}{4} \]

Next, we can solve for \( b \) by cross-multiplying:

\[ b \cdot 4 = 5 \cdot 160 \]

Calculating the right side:

\[ b \cdot 4 = 800 \]

Now, divide both sides by 4 to isolate \( b \):

\[ b = \frac{800}{4} = 200 \]

Therefore, the number of gummy bears in the bag of candy is \( \boxed{200} \).