Addition within 20 with Ten Sticks

Addition within 20 with Ten Sticks
Loading the math board and drawing, please wait…
2020-04-14 06:10
In collections Elementary School Applets
This example uses ten sticks to visually demonstrate addition within 20. The core mathematical concepts include addition and number combination. The construction uses GeoGebra commands such as Sequence, Polygon, Random, Flatten, Textfield, Vector, and Translate. Suitable for first or second-grade students to learn addition.

GeoGebra Commands & Parameters

  1. Sequence(B + (0, (edge * i)), i, 0, 9) → RightDots
  2. Polygon(Element[RightDots, 10], Element[RightDots, 10] + (edge, 0), 4) → RightPoly10
  3. Random(4, 10) → seed1
  4. Flatten(Sequence[Sequence[C + ((i * (edge + gap)), (j * edge)), j, 0, 9], i, 0, 1]) → location
  5. Polygon(Element[RightDots, 9], Element[RightDots, 9] + (edge, 0), 4) → RightPoly9
  6. Polygon(Element[RightDots, 8], Element[RightDots, 8] + (edge, 0), 4) → RightPoly8
  7. Polygon(Element[RightDots, 7], Element[RightDots, 7] + (edge, 0), 4) → RightPoly7
  8. Polygon(Element[RightDots, 6], Element[RightDots, 6] + (edge, 0), 4) → RightPoly6
  9. Polygon(Element[RightDots, 5], Element[RightDots, 5] + (edge, 0), 4) → RightPoly5
  10. Polygon(Element[RightDots, 4], Element[RightDots, 4] + (edge, 0), 4) → RightPoly4
  11. Polygon(Element[RightDots, 3], Element[RightDots, 3] + (edge, 0), 4) → RightPoly3
  12. Polygon(Element[RightDots, 2], Element[RightDots, 2] + (edge, 0), 4) → RightPoly2
  13. Polygon(Element[RightDots, 1], Element[RightDots, 1] + (edge, 0), 4) → RightPoly1
  14. Random(4, 10) → seed2
  15. Textfield(inputtotal) → InputBox1
  16. Sequence(Polygon[A + (0, (i * edge)), A + (0, (i * edge)) + (edge, 0), 4], i, 0, 9) → TenStick1
  17. Sequence(Polygon[B + (0, (i * edge_2)), B + (0, (i * edge_2)) + (edge_2, 0), 4], i, 0, 9) → TenStick2
  18. Sequence(A + (0, (edge * i)), i, 0, 9) → LeftDots
  19. Sequence(Polygon[Element[LeftDots, i + 1], Element[LeftDots, i + 1] + (edge, 0), 4], i, 0, seed1 - 1) → SquaresLeft
  20. Sequence(Polygon[Element[RightDots, i + 1], Element[RightDots, i + 1] + (edge, 0), 4], i, 0, seed2 - 1) → SquaresRight
  21. Vector(A, C) → u
  22. Translate(SquaresLeft, Vector[(u * a)]) → SquaresLeft'
  23. Translate(RightPoly1, Vector[(move1 * Vector[Element[RightDots, 1], Element[location, seed1 + 1]])]) → MoveRight1
  24. Translate(RightPoly2, Vector[(move2 * Vector[Element[RightDots, 2], Element[location, seed1 + 2]])]) → MoveRight2
  25. Translate(RightPoly3, Vector[(move3 * Vector[Element[RightDots, 3], Element[location, seed1 + 3]])]) → MoveRight3
  26. Translate(RightPoly4, Vector[(move4 * Vector[Element[RightDots, 4], Element[location, seed1 + 4]])]) → MoveRight4
  27. Translate(RightPoly5, Vector[(move5 * Vector[Element[RightDots, 5], Element[location, seed1 + 5]])]) → MoveRight5
  28. Translate(RightPoly6, Vector[(move6 * Vector[Element[RightDots, 6], Element[location, seed1 + 6]])]) → MoveRight6
  29. Translate(RightPoly7, Vector[(move7 * Vector[Element[RightDots, 7], Element[location, seed1 + 7]])]) → MoveRight7
  30. Translate(RightPoly8, Vector[(move8 * Vector[Element[RightDots, 8], Element[location, seed1 + 8]])]) → MoveRight8
  31. Translate(RightPoly10, Vector[(move10 * Vector[Element[RightDots, 10], Element[location, seed1 + 10]])]) → MoveRight10
  32. Translate(RightPoly9, Vector[(move9 * Vector[Element[RightDots, 9], Element[location, seed1 + 9]])]) → MoveRight9
  33. Sequence(Polygon[Element[location, 1] + (0, (i * edge)), Element[location, 1] + (0, (i * edge)) + (edge, 0), 4], i, 0, 9) → AnswerStick1
  34. Sequence(Polygon[Element[location, 11] + (0, (i * edge)), Element[location, 11] + (0, (i * edge)) + (edge, 0), 4], i, 0, 9) → AnswerStick2

AI Drawing Prompt Reference

Draw a ten-stick addition diagram with two rows of 10 sticks each. The left row represents one addend, and the right row represents the other addend. Randomly move some sticks from the left to the right to form a new combination, showing the result of the addition. Include an input box on the right to enter the total sum.
The prompt above was compiled from the original drawing commands and is for reference only.