Question

A bag has red, blue, and yellow marbles. If the total number of marbles is 32, the probability of getting a red marble is ⅛ and the probability of getting a yellow marble is 1/4 . How many blue marbles are in the bag? What is the probability of getting a blue marble?

Answers

GPT 3.5
Let the number of red marbles be x, the number of yellow marbles be y, and the number of blue marbles be z.

According to the given information, x + y + z = 32 (total number of marbles)
The probability of getting a red marble, x/32 = 1/8
The probability of getting a yellow marble, y/32 = 1/4

From the first equation: x + y + z = 32

From the second equation: x = 32/8 = 4

From the third equation: y = 32/4 = 8

Therefore, z = 32 - 4 - 8 = 20

So, the number of blue marbles in the bag is 20.

The probability of getting a blue marble = number of blue marbles / total number of marbles = 20/32 = 5/8.

Related Questions