Rolling 8-Sided Dice Simulation

Rolling 8-Sided Dice Simulation
Loading the math board and drawing, please wait…
2022-03-05 00:42
This example demonstrates a simulation of rolling two 8-sided dice, covering core math concepts like Probability & Statistics, Sequences, and Bar Charts. It is constructed using GeoGebra commands such as Sequence, BarChart, and If, with objects like die1list, die2list, sumlist, etc. Ideal for high school students learning probability and data analysis.

GeoGebra Commands & Parameters

  1. Sequence(Random[1, 8], k, 1, 100) → die1list, {5, 4, 1, 2, 1, 1, 6, 2, 4, 2, 3, 3, 3, 2, 7, 7, 4, 7, 1, 1, 7, 2, 4, 8, 7, 2, 1, 7, 5, 8, 5, 3, 3, 3, 5, 3, 5, 4, 4, 7, 6, 4, 8, 3, 1, 4, 8, 5, 7, 1, 4, 3, 1, 2, 7, 2, 7, 7, 4, 1, 4, 5, 7, 5, 1, 4, 1, 2, 7, 5, 2, 1, 4, 4, 3, 3, 3, 7, 5, 6, 2, 1, 7, 4, 3, 2, 3, 2, 2, 7, 3, 3, 2, 7, 3, 6, 5, 7, 3, 1}
  2. Sequence(Random[1, 8], k, 1, 100) → die2list, {8, 2, 5, 4, 7, 1, 5, 6, 1, 7, 6, 7, 8, 8, 7, 7, 5, 7, 2, 2, 2, 5, 8, 2, 1, 4, 8, 6, 8, 2, 1, 1, 2, 3, 5, 8, 6, 4, 7, 2, 6, 5, 5, 6, 6, 7, 4, 4, 8, 4, 2, 7, 8, 7, 8, 4, 2, 4, 6, 6, 4, 7, 3, 3, 1, 6, 3, 6, 8, 4, 2, 2, 6, 8, 7, 8, 1, 5, 2, 5, 5, 5, 2, 7, 5, 5, 4, 1, 1, 4, 7, 6, 8, 7, 5, 5, 5, 1, 5, 4}
  3. Sequence(CountIf[x ≟ k, rolls], k, 2, 16) → frequencies, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
  4. Sequence(2, 16) → labels
  5. BarChart(labels, frequencies) → a
  6. If(Max[frequencies] < 10, 11, (Max[frequencies] * 1.08)) → max
  7. Sequence(sumlist(k), k, 91, 100) → last10, {10, 9, 10, 14, 8, 11, 10, 8, 8, 5}
  8. BarChart(labels, frequencies) → b

AI Drawing Prompt Reference

Simulate 100 rolls of two 8-sided dice and create two bar charts to show the frequency of each number. First, generate two sequences of 100 random numbers between 1 and 8. Then, count the occurrences of each number and represent them with bar charts. Finally, create another bar chart to show the distribution of the sums.
The prompt above was compiled from the original drawing commands and is for reference only.