Solution: A bag contains 5 red, 3 blue, and 2 green balls. One is chosen at random. Find P not red.
A bag contains 5 red, 3 blue, and 2 green balls. One is chosen at random. Find P(not red).
Calculations Finished
Code:
red = 5
blue = 3
green = 2
total = red + blue + green
not_red = blue + green
prob_not_red = not_red / total
print(f"total: {total}")
print(f"not_red: {not_red}")
print(f"prob_not_red: {prob_not_red}")
Output:
total: 10
not_red: 5
prob_not_red: 0.5
STEP 1 • VERIFIED
Solution for 5+3+2
STEP 2 • VERIFIED
Solution for 3+2
STEP 3 • VERIFIED
Solution for 105
Have a Math Question?
Ask your own question to get a step-by-step verified solution instantly.