Rolling Three Dice
Loading the math board and drawing, please wait…
This example demonstrates a simulation of rolling three 6-sided dice, covering core concepts in Probability & Statistics such as random events and frequency distributions. It is constructed using GeoGebra commands like Sequence, BarChart, and If, with objects like die1list, sumlist, and sum. Ideal for high school probability/statistics instruction or math clubs.
GeoGebra Commands & Parameters
Sequence(Random[1, 6], k, 1, 100) → die1list, {4, 6, 4, 6, 4, 6, 1, 1, 2, 6, 5, 5, 5, 3, 2, 2, 3, 1, 2, 4, 4, 6, 3, 2, 1, 2, 1, 1, 6, 1, 6, 1, 3, 5, 1, 5, 1, 3, 5, 2, 1, 6, 1, 5, 1, 6, 2, 4, 6, 1, 3, 6, 1, 6, 5, 4, 1, 1, 6, 4, 6, 2, 5, 6, 6, 4, 1, 6, 6, 1, 6, 3, 6, 6, 1, 2, 1, 5, 3, 4, 2, 4, 6, 4, 6, 1, 5, 5, 1, 1, 5, 1, 5, 1, 1, 4, 4, 3, 5, 2}Sequence(Random[1, 6], k, 1, 100) → die3list, {4, 5, 4, 5, 6, 6, 1, 3, 5, 3, 5, 2, 4, 6, 3, 4, 4, 1, 2, 2, 3, 4, 1, 5, 6, 3, 6, 6, 1, 2, 4, 6, 1, 2, 1, 1, 4, 3, 3, 6, 1, 6, 4, 4, 6, 6, 1, 3, 3, 6, 1, 4, 2, 5, 6, 1, 3, 1, 5, 6, 3, 2, 4, 3, 1, 5, 6, 3, 3, 6, 1, 5, 4, 1, 2, 6, 1, 1, 5, 3, 2, 3, 3, 4, 1, 4, 6, 3, 5, 4, 6, 5, 6, 6, 3, 5, 6, 1, 3, 3}Sequence(Random[1, 6], k, 1, 100) → die2list, {3, 1, 6, 5, 6, 2, 4, 4, 5, 1, 6, 5, 1, 2, 4, 5, 2, 5, 6, 2, 2, 5, 5, 2, 4, 5, 5, 6, 5, 2, 2, 1, 1, 1, 5, 3, 2, 6, 6, 6, 6, 4, 4, 4, 5, 3, 1, 1, 1, 6, 3, 1, 3, 4, 6, 1, 5, 5, 3, 4, 1, 5, 1, 3, 1, 6, 2, 1, 4, 6, 3, 5, 6, 5, 2, 3, 4, 2, 1, 2, 5, 6, 1, 1, 2, 2, 3, 1, 1, 4, 1, 6, 6, 2, 3, 2, 4, 6, 4, 2}Sequence(CountIf[x ≟ k, rolls], k, 3, 18) → frequencies, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}Sequence(3, 18) → labelsBarChart(labels, frequencies) → aIf(Max[frequencies] < 10, 11, (Max[frequencies] * 1.08)) → maxSequence(sumlist(k), k, 91, 100) → last10, {12, 12, 17, 9, 7, 11, 14, 10, 12, 7}BarChart(labels, frequencies) → b
AI Drawing Prompt Reference
Create the results of rolling three 6-sided dice 100 times, generating three random number lists die1list, die2list, and die3list. Then, count the frequency of each number and create a frequency distribution chart. Finally, draw two bar charts, one showing the frequency of each number and another showing the distribution of the sum of the last 10 rolls.
The prompt above was compiled from the original drawing commands and is for reference only.