写出自然数集合

写出自然数集合
几何画板及绘图内容加载中,请稍等……
2021-09-08 16:19
所属专题 Ⓔ Zahlenmengen
这个 GeoGebra 范例演示了如何写出自然数集合。它涉及的核心数学概念是集合论和自然数。作图要点包括使用 Shuffle、Element、If、Sequence、Textfield、Polygon、Segment、Circle 等 GeoGebra 命令和对象。这个范例适合初中或高中数学课堂使用,特别是用于展示集合和自然数的概念。

GeoGebra 命令及参数

  1. Shuffle(Sequence[Random[1, 2], i, 1, 100]) → randomNosForBsp, {2, 2, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 1}
  2. Shuffle(Sequence[(2 * n), n, 1, 3]) → randomNosFor1U, {4, 2, 6}
  3. Shuffle(Sequence[(2 * n) + 1, n, 1, 3]) → randomNosFor1G, {5, 3, 7}
  4. Element(randomNosForBsp, Mod[questionCount, 100] + 1) → bsp
  5. Shuffle(Sequence[Random[1, 2], i, 1, 100]) → randomNosForWort, {2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 1, 1, 1, 2}
  6. Element(randomNosForWort, Mod[questionCount, 100] + 1) → indexWort
  7. If(indexWort ≟ 1, Element[randomNosFor1G, Mod[questionCount, 100]], Element[randomNosFor1U, Mod[questionCount, 100]]) → numBsp1
  8. If(indexWort ≟ 2, Sequence[(2 * n) + 1, n, 0, numBsp1 / 2 - 1], Sequence[(2 * n), n, 0, numBsp1 / 2]) → solBsp1
  9. If(indexWort ≟ 1, Shuffle[Sequence[(2 * n) + 1, n, 1, 3]], Shuffle[Sequence[(2 * n), n, 1, 3]]) → randomNosFor2K
  10. Element(randomNosFor2K, Mod[questionCount, 100]) → numBsp2_1
  11. If(indexWort ≟ 1, Shuffle[Sequence[(2 * n) + 1, n, 4, 6]], Shuffle[Sequence[(2 * n), n, 4, 6]]) → randomNosFor2G
  12. Element(randomNosFor2G, Mod[questionCount, 100]) → numBsp2_2
  13. Sequence(numBsp2_1 + 1, numBsp2_2 - 1, 1) → solBsp2_2
  14. If(indexWort ≟ 2, Sequence[(2 * n) + 1, n, round(numBsp2_1 / 2), round(numBsp2_2 / 2) - 1], Sequence[(2 * n), n, round(numBsp2_1 / 2), floor(numBsp2_2 / 2)]) → solBsp2
  15. Shuffle(Sequence[Random[1, 2], i, 1, 100]) → randomNosForBsp2, {1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1}
  16. Element(randomNosForBsp2, Mod[questionCount, 100] + 1) → selectedBsp
  17. If(bsp ≟ 1, solBsp1, If[selectedBsp ≟ 1, solBsp2, solBsp2_2]) → chosenSolList
  18. Textfield(aInput) → InputBox1
  19. Textfield(bInput) → InputBox2
  20. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  21. Segment((-4.5, 4.4), (5.07, 4.4)) → f
  22. Sequence(Text["\textsf{" + (i) + "}", B + (0.08 + (0.8 * i), -0.7), true, true, -0, 0], i, 0, 12) → l1
  23. Sequence(Segment[((0.8 * i), 4.3), ((0.8 * i), 4.5)], i, -5.65, 6.6) → segs
  24. Circle(C, D) → c
  25. Circle(C_{1}, D_{1}) → c_{1}
  26. Circle(C_{2}, D_{2}) → c_{2}
  27. Circle(C_{3}, D_{3}) → c_{3}
  28. Circle(C_{4}, D_{4}) → c_{4}
  29. Circle(C_{5}, D_{5}) → c_{5}
  30. Circle(C_{6}, D_{6}) → c_{6}
  31. Circle(C_{7}, D_{7}) → c_{7}
  32. Circle(C_{8}, D_{8}) → c_{8}
  33. Circle(C_{9}, D_{9}) → c_{9}
  34. Circle(C_{10}, D_{10}) → c_{10}
  35. Circle(CLIPBOARDmagicSTRINGC_{7}, CLIPBOARDmagicSTRINGD_{7}) → CLIPBOARDmagicSTRINGc_{7}
  36. Circle(CLIPBOARDmagicSTRINGC_{1}, CLIPBOARDmagicSTRINGD_{1}) → CLIPBOARDmagicSTRINGc_{1}
  37. CountIf(x ≟ numBsp1, aInput) → grenzzahl1

AI 绘图提示语参考

绘制自然数集合的图形,包含100个随机数,用不同颜色表示偶数和奇数。首先,随机生成100个1或2的序列,然后根据序列中的数是1还是2,生成奇数或偶数序列。接着,根据序列中的数生成相应的点,用点表示自然数。然后,用点绘制矩形,表示数的范围。最后,用线段和圆圈表示数的集合关系,奇数和偶数分别用不同的颜色表示。
以上提示语为根据原始绘图命令整理而来,仅供参考。