There are several red, yellow and green balls in the bag, and each ball has its own color. Now, if you feel out any one of them, the probability of getting a red ball is 13, and the probability of getting a yellow ball is 12. It is known that there are three green balls. How many red balls and yellow balls are there in the bag?

There are several red, yellow and green balls in the bag, and each ball has its own color. Now, if you feel out any one of them, the probability of getting a red ball is 13, and the probability of getting a yellow ball is 12. It is known that there are three green balls. How many red balls and yellow balls are there in the bag?

According to the meaning of the question: suppose there are 6m balls in the bag, and now feel a ball randomly from it. The probability of getting a red ball is 13, and the probability of getting a yellow ball is 12. Then the probability of touching a green ball is 1 − 13 − 12 = 16. According to the three green balls and the probability of touching a green ball is 16, then there are three kinds of balls in the bag, a total of 3 △ 16 = 18. So there are 13 × 18 red balls in the bag and 1 yellow ball in the bag 2 × 18 = 9