Relative Frequencies - Product Rule

Relative Frequencies - Product Rule
Loading the math board and drawing, please wait…
2024-06-06 18:30
This example demonstrates how to use GeoGebra to construct relative frequencies using the product rule. The core math concepts involved are relative frequencies and the product rule in probability and statistics. Key construction elements include commands and objects such as Textfield, Shuffle, If, Polygon, Element, Append, Remove, TextToUnicode, Line, Segment, Mirror, and Text. It is suitable for students in grades 5-6 learning basic concepts in probability and statistics.

GeoGebra Commands & Parameters

  1. Textfield(input1) → InputBox1
  2. Textfield(input2) → InputBox2
  3. Shuffle(Sequence[i, i, 1, 8]) → ListExNum, {1, 5, 8, 4, 6, 2, 7, 3}
  4. Shuffle({1, 2, 3, 4, 5, 6}) → ListGesucht, {4, 6, 1, 2, 5, 3}
  5. Shuffle(Sequence[i, i, 1, 9]) → ListRandomNumbers, {6, 2, 4, 8, 9, 7, 3, 1, 5}
  6. Shuffle({"Basketball", "Tanzen", "Volleyball", "Schwimmen", "Wandern", "Fußball", "Tennis"}) → ListSportarten, {"Schwimmen", "Volleyball", "Tanzen", "Basketball", "Fußball", "Tennis", "Wandern"}
  7. Shuffle(Sequence[ListSportarten(i), i, 1, 2]) → ListeGesucht1, {"Volleyball", "Schwimmen"}
  8. Shuffle(Sequence[ListSportarten(i), i, 3, 4]) → ListeGesucht2, {"Basketball", "Tanzen"}
  9. If(SportartGesucht1 ≟ ListSportarten(1), 1, 2) → ebene1gesucht
  10. If(SportartGesucht2 ≟ ListSportarten(3), 1, 2) → ebene2gesucht
  11. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1
  12. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {8, 6, 7, 0, 10, 6, 2, 10, 8, 9, 8, 9, 5, 10, 2, 3, 0, 7, 9, 0, 8, 8, 0, 5, 8, 2, 3, 6, 6, 10, 9, 7, 10, 5, 0, 10, 1, 0, 6, 2, 2, 6, 1, 5, 7, 10, 5, 7, 0, 6, 4, 10, 8, 6, 2, 2, 10, 10, 1, 5, 3, 0, 9, 4, 3, 2, 1, 8, 10, 1, 10, 8, 2, 8, 9, 6, 10, 9, 5, 8, 6, 8, 6, 7, 9, 9, 2, 9, 4, 0, 4, 4, 5, 9, 5, 3, 0, 8, 6, 6}
  13. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  14. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {4, 4, 0, 10, 5, 8, 4, 6, 6, 4, 2, 1, 5, 0, 6, 2, 2, 5, 3, 6, 0, 3, 5, 4, 6, 7, 7, 1, 9, 6, 4, 4, 0, 10, 5, 2, 6, 7, 8, 6, 10, 7, 10, 7, 1, 3, 3, 8, 4, 3, 1, 9, 6, 6, 0, 9, 1, 2, 5, 3, 6, 10, 9, 0, 6, 1, 8, 8, 7, 2, 6, 9, 1, 7, 2, 3, 1, 2, 4, 9, 6, 4, 7, 8, 8, 1, 8, 3, 5, 7, 10, 3, 0, 5, 8, 3, 5, 3, 9, 7}
  15. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  16. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  17. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  18. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  19. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  20. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  21. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  22. TextToUnicode(erlaubteZeichen) → erlaubteZeichenUC
  23. Line(BaumZentrum, yAxis) → AchseSymm
  24. Segment(B, BaumAst1) → S2
  25. Mirror(D, Line[BaumAst1, yAxis]) → D'
  26. Mirror(BaumAst2, Line[BaumAst1, yAxis]) → E'
  27. Segment(D', E') → S21
  28. Shuffle({1, 2}) → ListModus, {1, 2}
  29. Mirror(Anchor6, Line[BaumAst1, yAxis]) → Anchor5
  30. Mirror(Anchor2, AchseSymm) → Anchor1
  31. Mirror(Anchor6, AchseSymm) → Anchor3
  32. Mirror(Anchor5, AchseSymm) → Anchor4
  33. Text(HelperText1, Anchor1, false, true, 0, 0) → Text7
  34. Text(HelperText2, Anchor2, false, true, 0, 0) → Text8
  35. Text(HelperText3, Anchor3, false, true, 0, 0) → Text9
  36. Text(HelperText4, Anchor4, false, true, 0, 0) → Text10
  37. Text(HelperText5, Anchor5, false, true, 0, 0) → Text11
  38. Text(HelperText6, Anchor6, false, true, 0, 0) → Text12
  39. Mirror(AnchorBT2, AchseSymm) → AnchorBT1
  40. Mirror(AnchorBT6, AchseSymm) → AnchorBT3
  41. Mirror(AnchorBT6, Line[BaumAst1, yAxis]) → AnchorBT5
  42. Mirror(AnchorBT5, AchseSymm) → AnchorBT4
  43. Text(HelperBT1, AnchorBT1, false, true, 0, 0) → Text1
  44. Text(HelperBT2, AnchorBT2, false, true, 0, 0) → Text3
  45. Text(HelperBT3, AnchorBT3, false, true, 0, 0) → Text4
  46. Text(HelperBT4, AnchorBT4, false, true, 0, 0) → Text5
  47. Text(HelperBT5, AnchorBT5, false, true, 0, 0) → Text6
  48. Text(HelperBT6, AnchorBT6, false, true, 0, 0) → Text13
  49. Segment(Mirror[B, AchseSymm], Mirror[BaumAst1, AchseSymm]) → S1
  50. Segment(Mirror[D, AchseSymm], Mirror[BaumAst2, AchseSymm]) → S11
  51. Segment(Mirror[D', AchseSymm], Mirror[E', AchseSymm]) → S12
  52. Segment(D, BaumAst2) → S22

AI Drawing Prompt Reference

Draw a graph containing two random sequences, one for x-coordinates and one for y-coordinates, with repeated numbers removed. The graph includes a square, two circles, and a line. The square's vertices are the centers of the two circles, and the line is the axis of symmetry between the two circles.
The prompt above was compiled from the original drawing commands and is for reference only.