GAME Catch the apple! - comparing decimals

GAME Catch the apple! - comparing decimals
Loading the math board and drawing, please wait…
2022-07-20 22:15
This example demonstrates the comparison of decimal numbers through a game format. The key mathematical concepts involve decimal comparison, using random integers to generate decimals and comparing their values. Construction involves GeoGebra commands like Random, Sequence, and Union to create decimal objects, and comparing coordinate values to determine size. Suitable for elementary high school or middle school mathematics teaching to intuitively understand decimal concepts and comparison methods.

GeoGebra Commands & Parameters

  1. Union(Sequence[round(Random[(0 * 10000) + 1, (15 * 10000) - 1] / 10000, Random[0, 3]), i, 1, 6], {}) → l1
  2. Random(0, 10) → slučajnCijeliBr
  3. Union(Sequence[round(Random[(slučajnCijeliBr * 10000) + 1, ((slučajnCijeliBr + 1) * 10000) - 1] / 10000, Random[1, 3]), i, 1, 6], {}) → l2
  4. Sequence(-2.6 + (j * 0.1), j, 0, 46, 1) → koordinateY, {-2.6, -2.5, -2.4, -2.3, -2.2, -2.1, -2, -1.9, -1.8, -1.7000000000000002, -1.6, -1.5, -1.4, -1.3, -1.2, -1.1, -1, -0.8999999999999999, -0.8, -0.7, -0.6000000000000001, -0.5, -0.3999999999999999, -0.2999999999999998, -0.19999999999999973, -0.10000000000000009, 0, 0.10000000000000009, 0.20000000000000018, 0.30000000000000027, 0.3999999999999999, 0.5, 0.6000000000000001, 0.7000000000000002, 0.8000000000000003, 0.8999999999999999, 1, 1.1, 1.2000000000000002, 1.3000000000000003, 1.4, 1.5000000000000004, 1.6, 1.6999999999999997, 1.8000000000000003, 1.9, 2.0000000000000004}
  5. RandomElement(koordinateY) → xJ
  6. Corner(5) → dim
  7. Union(Sequence[round(Random[(1 * 10000) + 1, (1.5 * 10000) - 1] / 10000, 2), i, 1, 1], {}) → nasumBrzina
  8. Sum(Sequence[" ", n, 1, 20]) → bl50
  9. TableText({"ABC", bl50}, "vc") → sampleT
  10. Vector(Midpoint[Corner[sampleT, 1], Corner[sampleT, 3]], Corner[sampleT, 4]) → sampleV
  11. If(tipUsp ≟ 1, l1(1), l2(1)) → prviBroj
  12. If(tipUsp ≟ 1, l1(2), l2(2)) → drugiBroj
  13. Sequence(Text[TableText[{tekstZadatka(i), bl50}, "vc"], točkaZad(i) + sampleV, true, true], i, 1, 1) → natpisZad
  14. If(round(prviBroj, 3) < round(drugiBroj, 3), "<", If[round(prviBroj, 3) > round(drugiBroj, 3), ">", "="]) → rješenje
  15. Sequence(Text[TableText[{tekstSakup(i), bl50}, "vc"], točkaSakup(i) + sampleV, true, true], i, 1, 1) → natpisSakup

AI Drawing Prompt Reference

Draw a game interface with 6 randomly generated decimal numbers, each represented by a rectangle whose height varies according to its value. Randomly generate a target number represented by an apple icon. Players need to compare each number with the target number and adjust the position of the rectangles so that the target number is in the middle of all numbers.
The prompt above was compiled from the original drawing commands and is for reference only.