Solving Equations with Aequatio: Interactive Practice and Visual Feedback

Solving Equations with Aequatio: Interactive Practice and Visual Feedback
Loading the math board and drawing, please wait…
2025-03-12 14:33
This GeoGebra example demonstrates an interactive equation-solving practice tool with a dynamic interface built from input fields, buttons, and feedback mechanisms. The core mathematical concept is solving equations, involving variables, expression evaluation, and verification of solutions. Construction highlights include using Sequence to generate random problems, Textfield and inputBox for user input, If and SelectedIndex for conditional logic and feedback, PolyLine and raster objects for grid background, and multiple buttons (btnNew, btnNext, btnShowSolution) to control the practice flow. Suitable for middle school mathematics classrooms or self-study, this tool reinforces solving linear equations through immediate feedback and hints, helping learners master step-by-step solution processes.

GeoGebra Commands & Parameters

  1. Sequence(Random[1, 10], i, 1, 10) → randomNumbers, {8, 7, 9, 2, 4, 5, 9, 3, 2, 5}
  2. Element(randomNumbers, Mod[questionCount, Length[randomNumbers]] + 1) → randomNumber
  3. Textfield(input) → inputBox
  4. 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
  5. 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
  6. Sequence(Sequence[Corner[4] + (RasterPixMat * ((k * RasterStepXY), (m * RasterStepXY))), k, 0, RasterMaxX / RasterStepXY], m, 0, RasterMaxY / RasterStepXY) → RasterPunkte
  7. Sample(VariableList, 11) → VariableSample, {"m", "y", "k", "u", "f", "q", "d", "v", "t", "j", "x"}
  8. PolyLine(PosSB, Corner[txt022, 1] + (0.25, -0.1), Corner[txt022, 2] + (0.1, -0.1), Corner[txt022, 3] + (0.1, 0.1), Corner[txt022, 4] + (-0.1, 0.1), Corner[txt022, 1] + (-0.1, 0.25), PosSB) → sb02
  9. SelectedIndex(dropdown021) → index021
  10. SelectedIndex(dropdown031) → index031
  11. SelectedIndex(dropdown041) → index041
  12. SelectedIndex(dropdown051) → index051
  13. SelectedIndex(dropdown061) → index061
  14. SelectedIndex(dropdown062) → index062
  15. SelectedIndex(dropdown063) → index063
  16. SelectedIndex(dropdown071) → index071
  17. SelectedIndex(dropdown072) → index072
  18. SelectedIndex(dropdown073) → index073
  19. SelectedIndex(dropdown081) → index081
  20. SelectedIndex(dropdown082) → index082
  21. SelectedIndex(dropdown083) → index083
  22. SelectedIndex(dropdown091) → index091
  23. SelectedIndex(dropdown092) → index092
  24. SelectedIndex(dropdown093) → index093
  25. Text("\textsf{=\vphantom{5g|}}", PosEquation1, false, true, 0, 0) → txtEQ12
  26. Text("\textsf{=\vphantom{5g|}}", PosEquation1 + (0, (-disY)), false, true, 0, 0) → txtEQ22
  27. Textfield(input021) → InputBox021
  28. Textfield(input031) → InputBox031
  29. Textfield(input041) → InputBox041
  30. Textfield(input051) → InputBox051
  31. Textfield(input061) → InputBox061
  32. Textfield(input071) → InputBox071
  33. Textfield(input081) → InputBox081
  34. Textfield(input091) → InputBox091
  35. If(step ≟ 2, (("\textsf{" * var) * " + 15\vphantom{5g|}}"), step ≟ 7, (("\textsf{12 \cdot " * var) * " \(-\) 18\vphantom{5g|}}"), step ≟ 8, (("\textsf{\frac{" * var) * "}{3} \(+\) 1\vphantom{5g|}}"), step ≟ 9, (("\textsf{\frac{" * var) * "}{7} \(-\) 3\vphantom{5g|}}"), step ≟ 10, "\textsf{7\vphantom{5g|}}", step ≟ 11, (("\textsf{12 \(-\) " * var) * "\vphantom{5g|}}"), step ≟ 3, (("\textsf{" * var) * " \(-\) 5\vphantom{5g|}}"), step ≟ 4, (("\textsf{12 \cdot " * var) * "\vphantom{5g|}}"), step ≟ 5, (("\textsf{\frac{" * var) * "}{5}\vphantom{5g|}}"), step ≟ 6, (("\textsf{4 \cdot " * var) * " \(+\) 8\vphantom{5g|}}")) → EL1
  36. Text(EL1, PosEquation1 + ((-disX), 0), false, true, -1, 0) → txtEQ11
  37. If(step ≟ 2, "\textsf{34\vphantom{5g|}}", step ≟ 7, "\textsf{30\vphantom{5g|}}", step ≟ 8, "\textsf{\(-2\)\vphantom{5g|}}", step ≟ 9, "\textsf{\(-6\)\vphantom{5g|}}", step ≟ 10, (("\textsf{\(-\)" * var) * " \(-\) 8\vphantom{5g|}}"), step ≟ 11, "\textsf{\(-23\)\vphantom{5g|}}", step ≟ 3, "\textsf{\(-2\)\vphantom{5g|}}", step ≟ 4, "\textsf{\(-84\)\vphantom{5g|}}", step ≟ 5, "\textsf{13\vphantom{5g|}}", step ≟ 6, "\textsf{16\vphantom{5g|}}") → ER1
  38. Text(ER1, PosEquation1 + (disX, 0), false, true, 1, 0) → txtEQ13
  39. If(step ≟ 2, (((((("\textsf{" * var) * " + ") * If[simplified021, "\cancel{", "{"]) * "15} \(-\) ") * If[simplified021, "\cancel{", "{"]) * "15}\vphantom{5g|}}"), step ≟ 7, If[index071 ≟ 3, (("\textsf{\frac{12 \cdot " * var) * " \(-\) 18}{12}\vphantom{5g|}}"), (((((("\textsf{12 \cdot " * var) * " \(-\) ") * If[simplified071, "\cancel{", "{"]) * "18} + ") * If[simplified071, "\cancel{", "{"]) * "18}\vphantom{5g|}}")], step ≟ 8, If[index081 ≟ 3, (("\textsf{\left(\frac{" * var) * "}{3} \(+\) 1\right) \cdot 3\vphantom{5g|}}"), (((((("\textsf{\frac{" * var) * "}{3} \(+\) ") * If[simplified081, "\cancel{", "{"]) * "1} \(-\) ") * If[simplified081, "\cancel{", "{"]) * "1}\vphantom{5g|}}")], step ≟ 9, If[index091 ≟ 3, (("\textsf{\left(\frac{" * var) * "}{7} \(-\) 3\right) \cdot 7\vphantom{5g|}}"), (((((("\textsf{\frac{" * var) * "}{7} \(-\) ") * If[simplified091, "\cancel{", "{"]) * "3} + ") * If[simplified091, "\cancel{", "{"]) * "3}\vphantom{5g|}}")], step ≟ 10, (("\textsf{7 + " * var) * "\vphantom{5g|}}"), step ≟ 11, (((((("\textsf{" * If[simplified111, "\cancel{", "{"]) * "12} \(-\) ") * var) * " ") * If[simplified111, "\cancel{", "{"]) * "\(-\) 12}\vphantom{5g|}}"), step ≟ 3, (((((("\textsf{" * var) * " \(-\) ") * If[simplified031, "\cancel{", "{"]) * "5} + ") * If[simplified031, "\cancel{", "{"]) * "5}\vphantom{5g|}}"), step ≟ 4, (((((("\textsf{\frac{" * If[simplified041, "\cancel{", "{"]) * "12} \cdot ") * var) * "}{") * If[simplified041, "\cancel{", "{"]) * "12}}\vphantom{5g|}}"), step ≟ 5, (((((("\textsf{\frac{" * var) * "}{") * If[simplified051, "\cancel{", "{"]) * "5}} \cdot ") * If[simplified051, "\cancel{", "{"]) * "5}\vphantom{5g|}}"), step ≟ 6, If[index061 ≟ 3, (("\textsf{\frac{4 \cdot " * var) * " \(+\) 8}{4}\vphantom{5g|}}"), (((((("\textsf{4 \cdot " * var) * " + ") * If[simplified061, "\cancel{", "{"]) * "8} \(-\) ") * If[simplified061, "\cancel{", "{"]) * "8}\vphantom{5g|}}")]) → EL2
  40. Text(EL2, PosEquation1 + ((-disX), (-disY)), false, true, -1, 0) → txtEQ21
  41. If(step ≟ 2, "\textsf{34 \(-\) 15\vphantom{5g|}}", step ≟ 7, If[index071 ≟ 3, "\textsf{\frac{30}{12}\vphantom{5g|}}", "\textsf{30 + 18\vphantom{5g|}}"], step ≟ 8, If[index081 ≟ 3, "\textsf{\left(\(-2\)\right) \cdot 3\vphantom{5g|}}", "\textsf{\(-2\) \(-\) 1\vphantom{5g|}}"], step ≟ 9, If[index091 ≟ 3, "\textsf{\left(\(-6\)\right) \cdot 7\vphantom{5g|}}", "\textsf{\(-6\) + 3\vphantom{5g|}}"], step ≟ 10, (((((((("\textsf{" * If[simplified101, "\cancel{", "{"]) * "\(-\)") * var) * "} \(-\) 8 + ") * If[simplified101, "\cancel{", "{"]) * "") * var) * "}\vphantom{5g|}}"), step ≟ 11, "\textsf{\(-23\) \(-\) 12\vphantom{5g|}}", step ≟ 3, "\textsf{\(-2\) + 5\vphantom{5g|}}", step ≟ 4, "\textsf{\frac{\(-84\)}{12}\vphantom{5g|}}", step ≟ 5, "\textsf{13 \cdot 5\vphantom{5g|}}", step ≟ 6, If[index061 ≟ 3, "\textsf{\frac{16}{4}\vphantom{5g|}}", "\textsf{16 \(-\) 8\vphantom{5g|}}"]) → ER2
  42. Text(ER2, PosEquation1 + (disX, (-disY)), false, true, 1, 0) → txtEQ23
  43. If(step ≤ 5, (("\textsf{" * var) * "\vphantom{5g|}}"), step ≟ 10, (("\textsf{7 + " * var) * "\vphantom{5g|}}"), step ≟ 11, (("\textsf{\(-\)" * var) * "\vphantom{5g|}}"), step ≟ 6, If[index061 ≟ 3, (("\textsf{" * var) * " \(+\) 2\vphantom{5g|}}"), (("\textsf{4 \cdot " * var) * "\vphantom{5g|}}")], step ≟ 7, If[index071 ≟ 3, (("\textsf{" * var) * " \(-\) 1,5\vphantom{5g|}}"), (("\textsf{12 \cdot " * var) * "\vphantom{5g|}}")], step ≟ 8, If[index081 ≟ 3, (("\textsf{" * var) * " + 3\vphantom{5g|}}"), (("\textsf{\frac{" * var) * "}{3}\vphantom{5g|}}")], step ≟ 9, If[index091 ≟ 3, (("\textsf{" * var) * " \(-\) 21\vphantom{5g|}}"), (("\textsf{\frac{" * var) * "}{7}\vphantom{5g|}}")]) → EL3
  44. If(step ≤ 5, "\textsf{ \vphantom{5g|}}", step ≟ 10, "\textsf{\(-\)8\vphantom{5g|}}", step ≟ 11, "\textsf{\(-\)35\vphantom{5g|}}", step ≟ 6, If[index061 ≟ 3, "\textsf{4\vphantom{5g|}}", "\textsf{8\vphantom{5g|}}"], step ≟ 7, If[index071 ≟ 3, "\textsf{2,5\vphantom{5g|}}", "\textsf{48\vphantom{5g|}}"], step ≟ 8, If[index081 ≟ 3, "\textsf{\(-6\)\vphantom{5g|}}", "\textsf{\(-3\)\vphantom{5g|}}"], step ≟ 9, If[index091 ≟ 3, "\textsf{\(-42\)\vphantom{5g|}}", "\textsf{\(-3\)\vphantom{5g|}}"]) → ER3
  45. If(step ≤ 5, (("\textsf{" * var) * "\vphantom{5g|}}"), step ≟ 10, (((((("\textsf{" * If[simplified102, "\cancel{", "{"]) * "7} + ") * var) * " ") * If[simplified102, "\cancel{", "{"]) * "\(-\) 7}}"), step ≟ 11, (("\textsf{\(-\)" * var) * " \cdot (\(-1\))\vphantom{5g|}}"), step ≟ 6, If[index061 ≟ 3, (((((("\textsf{" * var) * " \(+\) ") * If[simplified062, "\cancel{", "{"]) * "2} \(-") * If[simplified062, "\cancel{", "{"]) * "2}\)\vphantom{5g|}}"), (((((("\textsf{\frac{" * If[simplified062, "\cancel{", "{"]) * "4} \cdot ") * var) * "}{") * If[simplified062, "\cancel{", "{"]) * "4}}\vphantom{5g|}}")], step ≟ 7, If[index071 ≟ 3, (((((("\textsf{" * var) * " \(-\) ") * If[simplified072, "\cancel{", "{"]) * "1,5} + ") * If[simplified072, "\cancel{", "{"]) * "1,5}\vphantom{5g|}}"), (((((("\textsf{\frac{" * If[simplified072, "\cancel{", "{"]) * "12} \cdot ") * var) * "}{") * If[simplified072, "\cancel{", "{"]) * "12}}\vphantom{5g|}}")], step ≟ 8, If[index081 ≟ 3, (((((("\textsf{" * var) * " + ") * If[simplified082, "\cancel{", "{"]) * "3} \(-\) ") * If[simplified082, "\cancel{", "{"]) * "3}\vphantom{5g|}}"), (((((("\textsf{\frac{" * var) * "}{") * If[simplified082, "\cancel{", "{"]) * "3}} \cdot ") * If[simplified082, "\cancel{", "{"]) * "3}\vphantom{5g|}}")], step ≟ 9, If[index091 ≟ 3, (((((("\textsf{" * var) * " \(-\) ") * If[simplified092, "\cancel{", "{"]) * "21} + ") * If[simplified092, "\cancel{", "{"]) * "21}\vphantom{5g|}}"), (((((("\textsf{\frac{" * var) * "}{") * If[simplified092, "\cancel{", "{"]) * "7}} \cdot ") * If[simplified092, "\cancel{", "{"]) * "7}\vphantom{5g|}}")]) → EL4
  46. If(step ≤ 5, "\textsf{ \vphantom{5g|}}", step ≟ 10, "\textsf{\(-8\) \(-\) 7\vphantom{5g|}}", step ≟ 11, "\textsf{\(-35\) \cdot (\(-1\))\vphantom{5g|}}", step ≟ 6, If[index061 ≟ 3, "\textsf{4 \(-\) 2\vphantom{5g|}}", "\textsf{\frac{8}{4}\vphantom{5g|}}"], step ≟ 7, If[index071 ≟ 3, "\textsf{2,5 + 1,5\vphantom{5g|}}", "\textsf{\frac{48}{12}\vphantom{5g|}}"], step ≟ 8, If[index081 ≟ 3, "\textsf{\(-6\) \(-\) 3\vphantom{5g|}}", "\textsf{\left(\(-3\)\right) \cdot 3\vphantom{5g|}}"], step ≟ 9, If[index091 ≟ 3, "\textsf{\(-42\) + 21\vphantom{5g|}}", "\textsf{\left(\(-3\)\right) \cdot 7\vphantom{5g|}}"]) → ER4
  47. Element({false, applied021, applied031, applied041, applied051, applied061, applied071, applied081, applied091, applied101, applied111}, step) → showLine2
  48. Element({false, simplified021, simplified031, simplified041, simplified051, simplified061, simplified071, simplified081, simplified091, simplified101, simplified111}, step) → showLine3
  49. Element({false, false, false, false, false, applied062, applied072, applied082, applied092, applied102, applied112}, step) → showLine4
  50. Element({false, false, false, false, false, simplified062, simplified072, simplified082, simplified092, simplified102, simplified112}, step) → showLine5
  51. Invert(pixMat) → invPixMat
  52. SelectedIndex(dropdown101) → index101
  53. SelectedIndex(dropdown111) → index111
  54. SelectedIndex(dropdown102) → index102
  55. SelectedIndex(dropdown112) → index112
  56. If(step ≟ 2, wrong021(index021), step ≟ 6 ∧ index061 ≟ 5, wrong062(index062), step ≟ 6 ∧ index061 ≟ 3, wrong063(index063), step ≟ 7 ∧ (¬correctdd071), wrong071(index071), step ≟ 7 ∧ index071 ≟ 4, wrong072(index072), step ≟ 7 ∧ index071 ≟ 3, wrong073(index073), step ≟ 3, step ≟ 8 ∧ (¬correctdd081), wrong081(index081), step ≟ 8 ∧ index081 ≟ 5, wrong082(index082), step ≟ 8 ∧ index081 ≟ 3, wrong083(index083), step ≟ 9 ∧ (¬correctdd091), wrong091(index091), step ≟ 9 ∧ index091 ≟ 4, wrong092(index092), wrong031(index031), step ≟ 9 ∧ index091 ≟ 3, wrong093(index093), step ≟ 10 ∧ (¬correctdd101), wrong101(index101), step ≟ 10 ∧ correctdd101 ∧ (¬correctdd102), wrong102(index102), step ≟ 11 ∧ (¬correctdd111), wrong111(index111), step ≟ 11 ∧ correctdd111 ∧ (¬correctdd112), wrong112(index112), step ≟ 4, wrong041(index041), step ≟ 5, wrong051(index051), step ≟ 6 ∧ (¬correctdd061), wrong061(index061)) → txtHelpHint02
  57. Text("\textsf{\colorbox{ebe7f8}{Berechne!}}", PosEquation1 + (0, (If[step < 6, -3, -5] * disY) + 0.5), false, true, 0, -1) → txtCalculate
  58. Textfield(input101) → InputBox101
  59. Textfield(input111) → InputBox111
  60. Element({true, correct02, correct03, correct04, correct05, correct06, correct07, correct08, correct09, correct10, correct11}, step) → clickableBtnNext
  61. Element({false, attemptCount021 ≥ 3 ∧ Defined[input021] ∧ (¬correct021), attemptCount031 ≥ 3 ∧ Defined[input031] ∧ (¬correct031), attemptCount041 ≥ 3 ∧ Defined[input041] ∧ (¬correct041), attemptCount051 ≥ 3 ∧ Defined[input051] ∧ (¬correct051), attemptCount061 ≥ 3 ∧ Defined[input061] ∧ (¬correct061), attemptCount071 ≥ 3 ∧ Defined[input071] ∧ (¬correct071), attemptCount081 ≥ 3 ∧ Defined[input081] ∧ (¬correct081), attemptCount091 ≥ 3 ∧ Defined[input091] ∧ (¬correct091), attemptCount101 ≥ 3 ∧ Defined[input101] ∧ (¬correct101), attemptCount111 ≥ 3 ∧ Defined[input111] ∧ (¬correct111)}, step) → showBtnShowSolution
  62. Element({false, correctdd021, correctdd031, correctdd041, correctdd051, correctdd061, correctdd071, correctdd081, correctdd091, correctdd101, correctdd111}, step) → clickableBtnApply1
  63. Element({false, false, false, false, false, correctdd062 ∧ index061 ≟ 5 ∨ correctdd063 ∧ index061 ≟ 3, correctdd072 ∧ index071 ≟ 4 ∨ correctdd073 ∧ index071 ≟ 3, correctdd082 ∧ index081 ≟ 5 ∨ correctdd083 ∧ index081 ≟ 3, correctdd092 ∧ index091 ≟ 4 ∨ correctdd093 ∧ index091 ≟ 3, correctdd102, correctdd112}, step) → clickableBtnApply2
  64. Text("\textsf{=\vphantom{5g|}}", PosEquation1 + (0, (-2 * disY)), false, true, 0, 0) → txtEQHelp22
  65. Text(EL3, PosEquation1 + ((-disX), (-2 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, -1, 0) → txtEQ31
  66. Text("\textsf{=\vphantom{5g|}}", PosEquation1 + (0, (-2 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, 0, 0) → txtEQ32
  67. Text(ER3, PosEquation1 + (disX, (-2 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, 1, 0) → txtEQ33
  68. Text(EL4, PosEquation1 + ((-disX), (-3 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, -1, 0) → txtEQ41
  69. Text("\textsf{=\vphantom{5g|}}", PosEquation1 + (0, (-3 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, 0, 0) → txtEQ42
  70. Text(ER4, PosEquation1 + (disX, (-3 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, 1, 0) → txtEQ43
  71. Text(EL5, PosEquation1 + ((-disX), (-4 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, -1, 0) → txtEQ51
  72. Text("\textsf{=\vphantom{5g|}}", PosEquation1 + (0, (-4 * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, 0, 0) → txtEQ52
  73. Text(If[step ≟ 6, (("\frac{\cancel{4} \cdot " * var) * "}{\cancel{4}} + \frac{8}{4}\vphantom{5g|}"), (("\frac{\cancel{12} \cdot " * var) * "}{\cancel{12}} \(-\) \frac{18}{12}\vphantom{5g|}")], PosEquation1 + ((-disX), (-2 * disY)), false, true, -1, 0) → txtEQHelp21
  74. Text(If[step ≟ 6, "\frac{16}{4}", "\frac{30}{12}"], PosEquation1 + (disX, (-2 * disY)), false, true, 1, 0) → txtEQHelp23
  75. Text("\textsf{Berechne:\vphantom{5g|}}", PosEquation1 + (-1, (If[step < 6, -2, -4] * disY) + If[step ≟ 6 ∧ index061 ≟ 3 ∨ step ≟ 7 ∧ index071 ≟ 3, (-disY), 0]), false, true, -1, 0) → txt024