← Innovation PlaygroundMISSION 80 / 100 · Mathematics & Computational Science

Simple probability

Calculate probability of selecting a red token from a mixed bag.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

Probability red (%)20

How the model works

P(red) = red / total
YOUR MISSION

3. Reach the target

Adjust the controls to obtain the following output. Multiple valid solutions may exist.

Probability red (%)30
Need a hint?

Assume each token is equally likely.

Explore, then check your answer.

Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.