Exploring Relationships

Exploring Relationships
Loading the math board and drawing, please wait…
2025-02-12 17:44
In collections Kreuztabellen
This example demonstrates how to use GeoGebra to explore relationships. Students can interact with the data through the charts to understand the connections between the data, such as analyzing data from Kreuztabellen and Vierfeldertafeln. The core mathematical concepts include data analysis and interpretation. The construction points include using GeoGebra commands such as Element, SelectedIndex, Textfield, If, Join, Sequence, Text, and PolyLine. Suitable for 7-8 grade students, especially for learning statistics and probability, and chart analysis.

GeoGebra Commands & Parameters

  1. Element(randomQuestions, Mod[questionCount - 1, Length[randomQuestions]] + 1) → randomQuestion
  2. SelectedIndex(dropdown022) → input022
  3. Textfield(input015) → InputBox015
  4. Textfield(input025) → InputBox025
  5. If(randomQuestion ≟ 1, correct01, randomQuestion ≟ 2, correct02, correct03) → correct
  6. Textfield(input) → inputBox
  7. Join({Sequence[Segment[Corner[4] + (RasterPixMat * ((k * RasterStepXY), 0)), Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY))], k, 0, RasterMaxX / RasterStepXY], Sequence[Segment[Corner[4] + (RasterPixMat * (0, (k * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], k, 0, RasterMaxY / RasterStepXY]}) → RasterStrecken
  8. Join({Sequence[Text[UnicodeToLetter[65 + k], Midpoint[Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY)), Corner[4] + (RasterPixMat * (((k + 1) * RasterStepXY), RasterMaxY))], false, true, 0, -1], k, 0, RasterMaxX / RasterStepXY - 1], Sequence[Text[("" * k), Midpoint[Corner[4] + (RasterPixMat * (RasterMaxX, ((k - 1) * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], false, true, 1, 0], k, 1, RasterMaxY / RasterStepXY]}) → RasterBeschriftung
  9. Sequence(Sequence[Corner[4] + (RasterPixMat * ((k * RasterStepXY), (m * RasterStepXY))), k, 0, RasterMaxX / RasterStepXY], m, 0, RasterMaxY / RasterStepXY) → RasterPunkte
  10. Sequence(Sequence[PosTable + (Sum[ListSpalte, k], (-Sum[ListZeile, m])), k, 0, 4], m, 0, 4) → TablePosMat
  11. Text((("\textsf{" * Element[AllTables(randomQuestion), 2, 3]) * "}"), Midpoint[TablePosMat(2, 3), TablePosMat(3, 3)] + (disX, disY), true, true, 1, 0) → Cap23
  12. Text((("\textsf{" * Element[AllTables(randomQuestion), 2, 4]) * "}"), Midpoint[TablePosMat(2, 4), TablePosMat(3, 4)] + (disX, disY), true, true, 1, 0) → Cap24
  13. Text((("\textsf{" * Element[AllTables(randomQuestion), 3, 2]) * "}"), Midpoint[TablePosMat(3, 2), TablePosMat(4, 2)] + (disX, disY), true, true, 1, 0) → Cap32
  14. Text((("\textsf{" * Element[AllTables(randomQuestion), 3, 3]) * "}"), Midpoint[TablePosMat(3, 3), TablePosMat(4, 3)] + (disX, disY), true, true, 1, 0) → Cap33
  15. Text((("\textsf{" * Element[AllTables(randomQuestion), 3, 4]) * "}"), Midpoint[TablePosMat(3, 4), TablePosMat(4, 4)] + (disX, disY), true, true, 1, 0) → Cap34
  16. Text((("\textsf{" * Element[AllTables(randomQuestion), 4, 2]) * "}"), Midpoint[TablePosMat(4, 2), TablePosMat(5, 2)] + (disX, disY), true, true, 1, 0) → Cap42
  17. Text((("\textsf{" * Element[AllTables(randomQuestion), 4, 3]) * "}"), Midpoint[TablePosMat(4, 3), TablePosMat(5, 3)] + (disX, disY), true, true, 1, 0) → Cap43
  18. Text((("\textsf{" * Element[AllTables(randomQuestion), 2, 2]) * "}"), Midpoint[TablePosMat(2, 2), TablePosMat(3, 2)] + (disX, disY), true, true, 1, 0) → Cap22
  19. Text((("\textsf{" * NumberSeparationComma[Element[AllTables(randomQuestion), 4, 4]]) * "}"), Midpoint[TablePosMat(4, 4), TablePosMat(5, 4)] + (disX, disY), true, true, 1, 0) → Cap44
  20. Text(TitleList(randomQuestion), Midpoint[TablePosMat(1, 1) + (0, disTitleY), TablePosMat(1, 1) + (0, disTitleY + 1)], false, true, 1, 0) → CapTitle
  21. PolyLine(PosSB, Corner[txt000, 1] + (-0.1, 0.75), Corner[txt000, 1] + (-0.1, 0), Corner[txt000, 2] + (0.1, 0), Corner[txt000, 3] + (0.1, 0.1), Corner[txt000, 4] + (-0.1, 0.1), Corner[txt000, 1] + (-0.1, 1.5), PosSB) → sb00
  22. Textfield(input011) → InputBox011
  23. Textfield(input012) → InputBox012
  24. Textfield(input013) → InputBox013
  25. Textfield(input014) → InputBox014
  26. Textfield(input021) → InputBox021
  27. Textfield(input023) → InputBox023
  28. Textfield(input024) → InputBox024
  29. Textfield(input026) → InputBox026
  30. Textfield(input031) → InputBox031
  31. Textfield(input032) → InputBox032
  32. Textfield(input033) → InputBox033
  33. Textfield(input034) → InputBox034
  34. Textfield(input035) → InputBox035
  35. If(randomQuestion ≟ 1, (¬calculated015) ∧ Defined[input011] ∧ Defined[input012] ∧ Defined[input013] ∧ Defined[input014] ∧ Defined[input015], randomQuestion ≟ 2, (¬calculated025) ∧ Defined[input021] ∧ input022 ≠ 1 ∧ Defined[input023] ∧ Defined[input024] ∧ Defined[input025] ∧ Defined[input026], randomQuestion ≟ 3, (¬calculated033) ∧ Defined[input031] ∧ Defined[input032] ∧ Defined[input033] ∧ Defined[input034] ∧ Defined[input035], false) → clickableBtnValidate
  36. PolyLine(PosSB, Corner[txtGoal, 1] + (-0.1, 0.5), Corner[txtGoal, 1] + (-0.1, 0), Corner[txtGoal, 2] + (0.1, 0), Corner[txtGoal, 3] + (0.1, 0.1), Corner[txtGoal, 4] + (-0.1, 0.1), Corner[txtGoal, 1] + (-0.1, 1.25), PosSB) → sbGoal
  37. If(correct, (-2.68, 0.88), randomQuestion ≟ 1 ∧ true ∈ CorrectList01 ∨ randomQuestion ≟ 2 ∧ true ∈ CorrectList02 ∨ randomQuestion ≟ 3 ∧ true ∈ CorrectList03, (-4.7, 0.9), (-2.44, 0.86)) → dimFB
  38. If(randomQuestion ≟ 3, (0, -2), randomQuestion ≟ 1, (0, -3), (0, -2.75)) → PosHint2
  39. Text(TableCapList21(randomQuestion), Midpoint[TablePosMat(2, 1), TablePosMat(3, 1)], false, true, 1, 0) → Cap21
  40. Text(TableCapList12(randomQuestion), Midpoint[TablePosMat(1, 2), TablePosMat(2, 2)], false, true, 1, 0) → Cap12
  41. Text(TableCapList13(randomQuestion), Midpoint[TablePosMat(1, 3), TablePosMat(2, 3)], false, true, 1, 0) → Cap13
  42. Text("\textsf{\bold{Gesamt\vphantom{g}}}", Midpoint[TablePosMat(1, 4), TablePosMat(2, 4)], false, true, 1, 0) → Cap14
  43. Text(TableCapList31(randomQuestion), Midpoint[TablePosMat(3, 1), TablePosMat(4, 1)], false, true, 1, 0) → Cap31
  44. Text("\textsf{\bold{Gesamt\vphantom{g}}}", Midpoint[TablePosMat(4, 1), TablePosMat(5, 1)], false, true, 1, 0) → Cap41

AI Drawing Prompt Reference

Create an interactive statistical chart featuring a randomly selected contingency table (fourfold table) with row and column headers and corresponding numeric cells. Surround the table with grid lines and axis labels. Include multiple input boxes for filling in table values, a dropdown menu for selecting options, a validate button, and a feedback area that shows correct or incorrect hints based on user input. Place a title above the table and hint text nearby. The overall layout includes the table, input boxes, button, and feedback to explore data relationships.
The prompt above was compiled from the original drawing commands and is for reference only.