Comparing Small Numbers by John Ulbright

Comparing Small Numbers by John Ulbright
Loading the math board and drawing, please wait…
2018-03-01 00:22
This example demonstrates how to compare two small numbers. Key mathematical concepts include the comparison of decimals and basic numerical operations. Using GeoGebra commands such as `Flatten`, `Element`, `RandomElement`, `Zip`, `First`, `Random`, and `Polygon`, the example dynamically illustrates the process of comparing decimals. Suitable for high-grade elementary and junior high school students to better understand the method of comparing decimals.

GeoGebra Commands & Parameters

  1. Flatten(Sequence[Sequence[Point[{i, j}], i, 0, gridSize - 1], j, 0, gridSize - 1]) → leftBackground
  2. Flatten(Sequence[Sequence[Point[{i, j}], i, (2 * gridSize), (3 * gridSize) - 1], j, 0, gridSize - 1]) → rightBackground
  3. Element({3, 5, 10, 20}, maxSlider) → maxNumber
  4. RandomElement(leftBackground) → leftStarter
  5. Zip(Distance[AA, leftStarter], AA, leftBackground) → leftDistances
  6. First(Sort[leftBackground, leftDistances], Element[{5, 9, 13, 25}, maxSlider]) → leftPossible
  7. Random(0, maxNumber) → leftSize
  8. First(If[randomOrClustered ≟ 0, Shuffle[leftBackground], leftPossible], leftSize) → leftUsing
  9. Zip(Polygon[AA + (-0.4, -0.4), AA + (0.4, -0.4), 4], AA, leftUsing) → leftSquares
  10. Zip(Circle[AA, 0.4], AA, leftUsing) → leftCircles
  11. RandomElement(rightBackground) → rightStarter
  12. Random(0, maxNumber) → rightSize
  13. Zip(Distance[AA, rightStarter], AA, rightBackground) → rightDistances
  14. First(Sort[rightBackground, rightDistances], Element[{5, 9, 13, 25}, maxSlider]) → rightPossible
  15. First(If[randomOrClustered ≟ 0, Shuffle[rightBackground], rightPossible], rightSize) → rightUsing
  16. Zip(Polygon[AA + (-0.4, -0.4), AA + (0.4, -0.4), 4], AA, rightUsing) → rightSquares
  17. RandomElement({{1, 0, 0}, {1, 1, 0}, {0, 0, 1}, {0, 0.8, 0}, {1, 0.68, 0}}) → color
  18. Zip(Circle[AA, 0.4], AA, rightUsing) → rightCircles
  19. RandomElement({"circles", "squares"}) → circlesOrSquares
  20. Polygon((-1, -1), (gridSize, -1), 4) → leftBorder
  21. Polygon(((2 * gridSize) - 1, -1), ((3 * gridSize), -1), 4) → rightBorder

AI Drawing Prompt Reference

Draw two background areas, one with a few small squares and circles, and the other with a few small squares and circles. Randomly select a maximum number, then choose some points from the left background to create the corresponding number of small squares and circles. Choose some points from the right background to create the corresponding number of small squares and circles. Finally, fill the right area with circles or squares in different colors, and fill the left area with squares.
The prompt above was compiled from the original drawing commands and is for reference only.