NS2-02-XT2 (Like terms across groups)

NS2-02-XT2 (Like terms across groups)
Loading the math board and drawing, please wait…
2020-10-22 13:53
This GeoGebra example uses three baskets of fruits (apples, oranges, bananas) to visually demonstrate the concept of combining like terms across different groups. The core mathematical idea is identifying terms with the same variable part (e.g., apples from different baskets) and merging them into a single term to simplify algebraic expressions. The construction employs commands such as Polygon to draw basket outlines, PointIn to place fruit images, Join and Zip to combine objects, Textfield and TableText to display data and results, and LaTeX for formula typesetting. It is suitable for middle school students learning algebraic simplification, and can be used by teachers for classroom demonstrations or by students for self-exploration, providing a visual grouping approach to understand the rules of combining like terms.

GeoGebra Commands & Parameters

  1. LaTeX(UnicodeToLetter[10003]) → cmark
  2. LaTeX(UnicodeToLetter[10007]) → xmark
  3. Polygon({(-8, 2), (-8, 6.5), (1.5, 6.5), (1.5, 2)}) → basket1quad
  4. PointIn(basket1quad) → basket1apple1
  5. PointIn(basket1quad) → basket1apple2
  6. PointIn(basket1quad) → basket1apple3
  7. PointIn(basket1quad) → basket1apple4
  8. PointIn(basket1quad) → basket1apple5
  9. PointIn(basket1quad) → basket1orange1
  10. PointIn(basket1quad) → basket1orange2
  11. PointIn(basket1quad) → basket1orange3
  12. PointIn(basket1quad) → basket1banana1
  13. PointIn(basket1quad) → basket1banana2
  14. PointIn(basket1quad) → basket1banana3
  15. PointIn(basket1quad) → basket1banana4
  16. Polygon({(22, 2), (22, 6.5), (31.5, 6.5), (31.5, 2)}) → basket3quad
  17. PointIn(basket3quad) → basket3apple1
  18. PointIn(basket3quad) → basket3apple2
  19. PointIn(basket3quad) → basket3apple3
  20. PointIn(basket3quad) → basket3apple4
  21. PointIn(basket3quad) → basket3banana1
  22. PointIn(basket3quad) → basket3banana2
  23. PointIn(basket3quad) → basket3banana3
  24. PointIn(basket3quad) → basket3orange1
  25. Join({Sequence[(("SetLayer(imgBasket1apple" * q) * ", 8)"), q, 1, numBasket1apples], Sequence[(("SetLayer(imgBasket1orange" * q) * ", 8)"), q, 1, numBasket1oranges], Sequence[(("SetLayer(imgBasket1banana" * q) * ", 8)"), q, 1, numBasket1bananas]}) → basket1LayerCommands
  26. Join({Sequence[(("SetLayer(imgBasket2apple" * q) * ", 8)"), q, 1, numBasket2apples], Sequence[(("SetLayer(imgBasket2orange" * q) * ", 8)"), q, 1, numBasket2oranges], Sequence[(("SetLayer(imgBasket2banana" * q) * ", 8)"), q, 1, numBasket2bananas]}) → basket2LayerCommands
  27. Join({Sequence[(("SetLayer(imgBasket3apple" * q) * ", 8)"), q, 1, numBasket3apples], Sequence[(("SetLayer(imgBasket3orange" * q) * ", 8)"), q, 1, numBasket3oranges], Sequence[(("SetLayer(imgBasket3banana" * q) * ", 8)"), q, 1, numBasket3bananas]}) → basket3LayerCommands
  28. Polygon({(7, 2), (7, 6.5), (16.5, 6.5), (16.5, 2)}) → basket2quad
  29. PointIn(basket2quad) → basket2apple1
  30. PointIn(basket2quad) → basket2apple2
  31. PointIn(basket2quad) → basket2banana1
  32. PointIn(basket2quad) → basket2banana2
  33. PointIn(basket2quad) → basket2orange1
  34. PointIn(basket2quad) → basket2orange2
  35. PointIn(basket2quad) → basket2orange3
  36. PointIn(basket2quad) → basket2orange4
  37. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  38. Zip(A ≟ Text[B], A, {textApples, textOranges, textBananas}, B, {totalApples, totalOranges, totalBananas}) → totalCorrectness
  39. LaTeX("\textbf{In total there are:}") → header
  40. Textfield(textApples) → ansBoxApples
  41. Textfield(textBananas) → ansBoxBananas
  42. Textfield(textOranges) → ansBoxOranges
  43. TableText({totalApples, totalOranges, totalBananas}, {"\text{\vphantom{\dfrac{1}{2}}apples}", "\text{\vphantom{\dfrac{1}{2}}oranges}", "\text{\vphantom{\dfrac{1}{2}}bananas}"}, If[isChecked, Zip[If[A, (("\textcolor{#254117}{" * cmark) * "}"), (("\textcolor{#e41b17}{" * xmark) * "}")], A, totalCorrectness]], "v") → table

AI Drawing Prompt Reference

Draw a graphic with three rectangular containers. Place apple, orange, and banana icons inside each container. The containers should be arranged neatly, with icons distinguished by color or label. The graphic should clearly show the containers and their contents to help understand the concept of combining like terms.
The prompt above was compiled from the original drawing commands and is for reference only.