Rolling 3 Dice

Rolling 3 Dice
Loading the math board and drawing, please wait…
2015-02-06 18:03
This example demonstrates the results of rolling three dice. The core mathematical concepts involved are probability and statistics. Using GeoGebra commands such as Frequency, Sum, Unique, Random, and BarChart, a frequency histogram of the dice rolls can be constructed. Suitable for middle school and above students to learn probability, statistics, and data analysis.

GeoGebra Commands & Parameters

  1. Frequency(sumlist) → freq
  2. Sum(freq) → b
  3. Unique(sumlist) → list1
  4. Random(1, 6) → dice1
  5. Random(1, 6) → dice2
  6. BarChart(sumlist, 0.8) → a
  7. Append("frequency", freq) → row2
  8. Append("sum", list1) → row1
  9. Append("relative freq", rel) → row3
  10. Append(row1, "total") → row1a
  11. Append(row2, b) → row2a
  12. Random(1, 6) → dice3
  13. TableText({row1a, row2a, row3}, "c_") → text2

AI Drawing Prompt Reference

Create a frequency histogram for the results of rolling three dice. First, generate the results of three dice rolls, then calculate their frequency and sum, and finally draw the frequency histogram and list the frequency and relative frequency table.
The prompt above was compiled from the original drawing commands and is for reference only.