Add Mixed Numbers

Add Mixed Numbers
Loading the math board and drawing, please wait…
2022-07-11 15:47
This example demonstrates how to calculate and simplify the addition of mixed numbers using GeoGebra. Key math concepts include adding fractions. GeoGebra commands used include Join, If, Translate, Textfield, Sequence, and LaTeX. Suitable for 5th to 6th grade students learning to add fractions.

GeoGebra Commands & Parameters

  1. Join({{4}, Join[Sequence[Shuffle[{2, 3, 4}], i, 1, 100]]}) → randomCases
  2. Join({{8}, Sequence[Random[nenner, nenner + 2], i, 1, 100] \ {nenner}}) → randomzaehler1
  3. Join({{9}, Sequence[Random[1, (3 * nenner) - zaehler1 - 1], i, 1, 100] \ {nenner - zaehler1, (2 * nenner) - zaehler1, nenner, zaehler1}}) → randomzaehler2
  4. If(bruch3 ≟ 3, bruch3 ≟ input7, bruch3 ≟ input7 + input8 / input9 ∧ (¬inputUnechterBruch3)) → correct3
  5. If(case ≥ 3, Pos1, Pos2) → Pos
  6. Join({Sequence[Translate[UnitSquare, Vector[(i * (0, dy))]], i, 0, If[nenner ≟ 4, 2, If[nenner ≥ 3, 3, nenner]] - 1], Sequence[Translate[Translate[UnitSquare, (dxQuadrat, 0)], Vector[(i * (0, dy))]], i, 0, If[nenner ≟ 4, 5, nenner] - 3 - 1]}) → bruch11
  7. If(case ≥ 3, (0.65 * 2.5), (0.65 * 1.5)) → dx
  8. Translate(bruch11, (dx + dxPart2 + If[bruch2 < 1, 1, 0], 0)) → bruch21
  9. Translate(bruch21, (dx + dxPart2, 0)) → bruch31
  10. Translate(bruch31, (dx, 0)) → bruch32
  11. Translate(bruch32, (dx, 0)) → bruch33
  12. Translate(PosInput1, (dx + dxPart2, 0)) → PosInput2
  13. If(nenner ∈ {2, 4}, 2, 3) → zeilen
  14. Translate(bruch11, (dx, 0)) → bruch12
  15. Translate(bruch21, (dx, 0)) → bruch22
  16. Join({bruch11, bruch12}) → Bruch1
  17. Join({bruch21, bruch22}) → Bruch2
  18. Textfield(input1) → Eingabefeld1
  19. Textfield(input2) → Eingabefeld2
  20. Textfield(input3) → Eingabefeld3
  21. Textfield(input4) → Eingabefeld4
  22. Textfield(input5) → Eingabefeld5
  23. Textfield(input6) → Eingabefeld6
  24. Textfield(input7) → Eingabefeld7
  25. Textfield(input8) → Eingabefeld8
  26. Textfield(input9) → Eingabefeld9
  27. Translate(PosInput2, (dx + dxPart2 + dxDritterBruch, 0)) → PosInput3
  28. Join({bruch31, bruch32, bruch33}) → Bruch3
  29. Sequence(Bruch2(i, 1), i, 1, (bruch2 * nenner)) → showBruch2, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  30. Sequence(Bruch3(i, 1), i, 1, zaehler3) → showBruch3, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  31. If(bruch1 ≟ 1, Defined[input1], bruch1 > 1, Defined[((input1 * input2) * input3)], Defined[(input2 * input3)]) → fixed1
  32. Sequence(Bruch3(i, 1), i, 1, zaehler1) → showBruch41, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  33. Sequence(Bruch3(i, 1), i, zaehler1 + 1, zaehler3) → showBruch42, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  34. Sequence(Bruch3(i, 1), i, 1, zaehler2) → showBruch51, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  35. If(bruch2 ≟ 1, Defined[input4], bruch2 > 1, Defined[((input4 * input5) * input6)], Defined[(input5 * input6)]) → fixed2
  36. LaTeX(bruch1, true, true) → Text2
  37. LaTeX(bruch2, true, true) → Text3
  38. Vertex(bruch11(CountIf[x ≠ 0, bruch11], 1), 3) → B
  39. Vertex(bruch11(1, 1), 1) → A
  40. Vertex(bruch21(1, 1), 1) → C
  41. Vertex(bruch21(CountIf[x ≠ 0, bruch21], 1), 3) → D
  42. Sequence(Bruch1(i, 1), i, 1, (bruch1 * nenner)) → showBruch1, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  43. If(bruch3 ∈ {1, 2, 3}, Defined[input7], bruch3 > 1, Defined[((input7 * input8) * input9)], Defined[(input8 * input9)]) → fixed3
  44. Sequence(Bruch1(i, 1), i, 1, (bruch1 * nenner)) → showBruch1part1, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  45. Sequence(Bruch2(i, 1), i, 1, (bruch2 * nenner)) → showBruch2part1, {0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225, 0.4225}
  46. Join({{txtQuestion1, txtQuestion2, txtQuestion3, txtQuestion4, txtHint1, txtHint2, txtHint3}, {Eingabefeld1, Eingabefeld2, Eingabefeld3, Eingabefeld4, Eingabefeld5, Eingabefeld6, Eingabefeld7, Eingabefeld8, Eingabefeld9}, {btnFixBruch, btnMoveableObjects, btnNew, btnSolution, btnValidate, btnZurück}}) → tabOrder

AI Drawing Prompt Reference

Draw a graph containing two mixed numbers, represented by two movable squares, with the size and position of the squares determined by the user's input of the numerator and denominator. The graph also includes a question area where the user needs to input the sum of the two mixed numbers. The background of the graph has a hint area that guides the user on how to input the correct answer.
The prompt above was compiled from the original drawing commands and is for reference only.