Random Number
¡@¡@Simulation is a popular programming application. Generation of random number is important in simulation. The following Java Applet generates ten random numbers between 1 to 6. The probability of each integer that occurs will be 1/6.

¡@¡@To prove that the above numbers occur with equal chance, we can simulate 60,000 rolls of a die. Each integer from 1 to 6 should appear approximately 10,000 times.