Uniform Distribution

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   hear noise   go to next page

Answer:

Again, the numbers are equally likely.

Uniform Distribution

 Die 1
 123456
Die 2 1234567
2345678
3456789
45678910
567891011
6789101112
Sum of the Spots Shown on Two Dice

When each number in a range of numbers is equally likely, the numbers are uniformly distriubuted. Many random number generators, such as a single die or a spinner, produce a uniform distriubution.

However, some random number generators are not uniform. For example, when two dice are thrown and the outcome is the sum of the spots, the range of possible outcomes is 2 through 12, but 7 is the most likely outcome since there are 6 combinations that sum to 7, more than any other number. Six and 8 are the second most likely outcomes, since there are 5 combinations each that sum to those numbers.

 

QUESTION 3:

What are the least likely outcomes from a pair of dice?