Probability and Statistics
Rolling the dice…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Probability and Statistics
Rolling the dice…
List every outcome and probability becomes counting. An event is just a set of outcomes — and union, intersection and complement are the set operations you already know.
Roll two dice, one red and one blue. Each cell of the grid is one outcome — (red, blue) — and the number in it is the sum. There are 6 × 6 = 36 outcomes, all equally likely, so each has probability 1/36.