Lucky Draw: Prime Number Probability Interactive Exercise

Lucky Draw: Prime Number Probability Interactive Exercise
Loading the math board and drawing, please wait…
2024-06-19 17:25
This interactive GeoGebra example presents a probability exercise for middle school students. A container holds balls numbered 1 through 10, and the winning rule is that drawing a prime number yields a prize. Students must identify which numbers belong to the event 'win'. The core mathematical concepts include sample space, events, prime numbers, and the intuitive notion of probability. The construction uses GeoGebra commands such as Point, Polygon, Sequence, Textfield, Checkbox, CountIf, IsInteger, and RotateText to create the visual container, interactive input fields, and automatic feedback. It is suitable for grades 7-8 to practice probability reasoning and can be used by teachers to demonstrate how technology quantifies uncertainty.

GeoGebra Commands & Parameters

  1. Point(Line[BH1, xAxis]) → BH2
  2. Point(OrthogonalLine[V2, Line[V2, V3]]) → V1
  3. Point(Segment[V1, V2]) → V5
  4. Intersect(Line[V5, xAxis], Segment[V3, V4]) → V6
  5. Polygon(V1, V4, V6, V5) → v2, j, k, l, m
  6. Polygon(V1, V2, V3, V4) → v1, f, g, h, i
  7. PointIn(v1) → P9
  8. PointIn(v1) → P8
  9. PointIn(v1) → P7
  10. PointIn(v1) → P6
  11. PointIn(v1) → P5
  12. PointIn(v1) → P4
  13. PointIn(v1) → P3
  14. PointIn(v1) → P2
  15. PointIn(v1) → P1
  16. Zip(If[P ∈ v2, 1, 0], P, {P1, P2, P3, P4, P5, P6, P7, P8, P9}) → listInV2
  17. IndexOf(1, listInV2) → inV2num
  18. IsInteger((inV2num * 0.5)) → isWin1
  19. CountIf(P ∈ v2, P, {P1, P2, P3, P4, P5, P6, P7, P8, P9}) → inV2
  20. SelectedIndex(DropDown3) → input3
  21. SelectedIndex(DropDown2) → input2
  22. SelectedIndex(DropDown11) → input11
  23. SelectedIndex(DropDown10) → input10
  24. PointIn(Polygon[G, G + (linesize, 0), G + (linesize, 1), G + (0, 1)]) → H3
  25. PointIn(Polygon[G, G + (linesize, 0), G + (linesize, 1), G + (0, 1)]) → H2
  26. PointIn(Polygon[G, G + (linesize, 0), G + (linesize, 1), G + (0, 1)]) → H1
  27. Sequence(G + ((m * linesize / 5), 0), m, 0, 5) → listpoints
  28. Textfield(input1) → Eingabefeld1
  29. Textfield(input2) → Eingabefeld2
  30. Textfield(input4) → Eingabefeld4
  31. Textfield(input5) → Eingabefeld5
  32. Textfield(input6) → Eingabefeld6
  33. Point(Line[E, xAxis]) → F
  34. Segment(G, G + (linesize, 0)) → n
  35. Zip(Segment[P + (0, -0.2), P + (0, 0.2)], P, listpoints) → listlines
  36. RotateText("\textsf{unmöglich}", 45°) → Text21
  37. RotateText("\textsf{~~~~~~~sehr\\unwahrscheinlich}", 45°) → Text22
  38. RotateText("\textsf{unwahrscheinlich}", 45°) → Text23
  39. RotateText("\textsf{wahrscheinlich}", 45°) → Text24
  40. RotateText("\textsf{~~~~~~sehr\\wahrscheinlich}", 45°) → Text25
  41. RotateText("\textsf{sicher}", 45°) → Text26
  42. Point(Line[Bab1, xAxis]) → Bab2
  43. Element({L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14}, step) → L
  44. Element({M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14}, step) → M
  45. LaTeX(step, true, true) → Text36
  46. Rotate(Segment[ArrowCenter + (ArrowDistance, 0), ArrowCenter + (ArrowDistance + ArrowLength, 0)], ArrowAngle + ((1 - 1) * (360°) / ArrowNumber), ArrowCenter) → arrow1

AI Drawing Prompt Reference

Create a probability exercise diagram for the rule “win if the drawn number is prime.” Include coordinate axes and a rectangular container area, with polygonal boundaries forming the container frame. Add several small reference marks along the left side at fixed horizontal levels. Below, draw a horizontal strip divided into five equal segments and place an evenly spaced sequence of points on it; at each point, draw short vertical divider segments. Provide text fields/areas near the controls for selecting inputs and indicate the qualitative probability levels using rotated text labels placed around the figure. Finish by adding a curved/angled pointer arrow with a rotation-based indicator to guide user selection.
The prompt above was compiled from the original drawing commands and is for reference only.