Dice Footy Simulation

Dice Footy Simulation
Loading the math board and drawing, please wait…
2020-06-03 21:53
This example demonstrates the simulation of Australian Rules Football games using dice. It involves core math concepts like Random Experiments, Solids or 3D Shapes, Angles, Conditional Probability, Equilateral Triangles, and Boxplot. The construction utilizes commands and objects such as Corner, Textfield, If, Polygon, Max, Segment, StepGraph, Min, and Sequence from GeoGebra. It is suitable for high school students learning probability statistics and geometric constructions, serving as a teaching demonstration or student exploration tool.

GeoGebra Commands & Parameters

  1. Corner(2) → C_2
  2. Corner(1) → C_1
  3. Corner(4) → C_4
  4. Textfield(HomeTeam) → InputBoxHome
  5. Textfield(AwayTeam) → InputBoxAway
  6. If(g1 ≥ 10, Text[floor(g1 / 10)], "") → gtens1
  7. If(g2 ≥ 10, Text[floor(g2 / 10)], "") → gtens2
  8. If(b1 ≥ 10, Text[floor(b1 / 10)], "") → btens1
  9. If(b2 ≥ 10, Text[floor(b2 / 10)], "") → btens2
  10. If(p1 ≥ 10, Text[Mod[floor(p1 / 10), 10]], "") → ptens1
  11. If(p2 ≥ 10, Text[Mod[floor(p2 / 10), 10]], "") → ptens2
  12. If(p2 ≥ 100, Text[floor(p2 / 100)], "") → pcent2
  13. If(p1 ≥ 100, Text[floor(p1 / 100)], "") → pcent1
  14. Polygon({(wormXL, wormYD), (wormXL, wormYU), (wormXR, wormYU), (wormXR, wormYD)}) → wormBox
  15. Max(10, (10 * ceil(Max[abs(wormDiff) + 1] / 10))) → wormScale
  16. Segment(WormCL, WormCR) → wormCline
  17. StepGraph(wormX, wormY, true) → worm
  18. Segment(Q1up, Q1down) → q1line
  19. Segment(Q2up, Q2down) → q2line
  20. Segment(Q3up, Q3down) → q3line
  21. Segment((wormXL, (0.75 * wormYU) + (0.25 * wormYD)), (wormXR, (0.75 * wormYU) + (0.25 * wormYD))) → wormHPline
  22. Segment((wormXL, (0.25 * wormYU) + (0.75 * wormYD)), (wormXR, (0.25 * wormYU) + (0.75 * wormYD))) → wormHMline
  23. Min(wormXL + ((q4factor * wormTscale) * (wormXR - wormXL)), wormXR) → wormQ4
  24. Segment(Q4up, Q4down) → q4line
  25. Sequence(16) → horses