夜市麻將概率与几何演示

夜市麻將概率与几何演示
几何画板及绘图内容加载中,请稍等……
2017-03-11 21:18
①本范例通过动态演示夜市麻將场景中的概率分布与几何中心计算;②涉及核心数学概念包括機率、幾何中心或重心、一般四邊形、二維向量、周長、黎曼和(Riemann Sum);③构造过程中运用了 Sequence, Element, KeepIf, Length, Intersection, Div, Translate 等GeoGebra命令及对象;④适合高中数学教学,用于理解概率统计与几何计算的实际应用。

GeoGebra 命令及参数

  1. Sequence(k, k, 1, 36) → list2
  2. Sequence(Random[1, 36 - k], k, 0, 14) → list1
  3. Element(list1, 1) → carte1
  4. KeepIf(x ≠ carte1, list2) → list3
  5. Element(list3, Element[list1, 2]) → carte2
  6. KeepIf(x ≠ carte2, list3) → list4
  7. Element(list4, Element[list1, 3]) → carte3
  8. KeepIf(x ≠ carte3, list4) → list5
  9. Element(list5, Element[list1, 4]) → carte4
  10. KeepIf(x ≠ carte4, list5) → list6
  11. Element(list6, Element[list1, 5]) → carte5
  12. KeepIf(x ≠ carte5, list6) → list7
  13. Element(list7, Element[list1, 6]) → carte6
  14. KeepIf(x ≠ carte6, list7) → list8
  15. Element(list8, Element[list1, 7]) → carte7
  16. KeepIf(x ≠ carte7, list8) → list9
  17. Element(list9, Element[list1, 8]) → carte8
  18. KeepIf(x ≠ carte8, list9) → list10
  19. Element(list10, Element[list1, 9]) → carte9
  20. KeepIf(x ≠ carte9, list10) → list11
  21. Element(list11, Element[list1, 10]) → carte10
  22. KeepIf(x ≠ carte10, list11) → list12
  23. Element(list12, Element[list1, 11]) → carte11
  24. KeepIf(x ≠ carte11, list12) → list13
  25. Element(list13, Element[list1, 12]) → carte12
  26. KeepIf(x ≠ carte12, list13) → list14
  27. Element(list14, Element[list1, 13]) → carte13
  28. KeepIf(x ≠ carte13, list14) → list15
  29. Element(list15, Element[list1, 14]) → carte14
  30. KeepIf(x ≠ carte14, list15) → list16
  31. Element(list16, Element[list1, 15]) → carte15
  32. Length(list1) → n
  33. Intersection(s1, list0) → t1
  34. Div(Length[t1], 6) → n1
  35. Intersection(s2, list0) → t2
  36. Intersection(s3, list0) → t3
  37. Intersection(s4, list0) → t4
  38. Intersection(s5, list0) → t5
  39. Intersection(s6, list0) → t6
  40. Intersection(s7, list0) → t7
  41. Intersection(s8, list0) → t8
  42. Intersection(s9, list0) → t9
  43. Intersection(s10, list0) → t10
  44. Intersection(s11, list0) → t11
  45. Intersection(s12, list0) → t12
  46. Intersection(s13, list0) → t13
  47. Intersection(s14, list0) → t14
  48. Div(Length[t2], 6) → n2
  49. Div(Length[t3], 6) → n3
  50. Div(Length[t4], 6) → n4
  51. Div(Length[t5], 6) → n5
  52. Div(Length[t6], 6) → n6
  53. Div(Length[t7], 6) → n7
  54. Div(Length[t8], 6) → n8
  55. Div(Length[t9], 6) → n9
  56. Div(Length[t10], 6) → n10
  57. Div(Length[t11], 6) → n11
  58. Div(Length[t12], 6) → n12
  59. Div(Length[t13], 6) → n13
  60. Div(Length[t14], 6) → n14
  61. Translate(Element[cartes, carte1], Vector[(0, 0), ((Mod[carte1 - 1, 6] * 2), (Div[carte1 - 1, 6] * 2.8)) + B_3]) → cart1
  62. Translate(Element[cartes, carte2], Vector[(0, 0), ((Mod[carte2 - 1, 6] * 2), (Div[carte2 - 1, 6] * 2.8)) + B_3]) → cart2
  63. Translate(Element[cartes, carte3], Vector[(0, 0), ((Mod[carte3 - 1, 6] * 2), (Div[carte3 - 1, 6] * 2.8)) + B_3]) → cart3
  64. Translate(Element[cartes, carte4], Vector[(0, 0), ((Mod[carte4 - 1, 6] * 2), (Div[carte4 - 1, 6] * 2.8)) + B_3]) → cart4
  65. Translate(Element[cartes, carte5], Vector[(0, 0), ((Mod[carte5 - 1, 6] * 2), (Div[carte5 - 1, 6] * 2.8)) + B_3]) → cart5
  66. Translate(Element[cartes, carte6], Vector[(0, 0), ((Mod[carte6 - 1, 6] * 2), (Div[carte6 - 1, 6] * 2.8)) + B_3]) → cart6
  67. Translate(Element[cartes, carte7], Vector[(0, 0), ((Mod[carte7 - 1, 6] * 2), (Div[carte7 - 1, 6] * 2.8)) + B_3]) → cart7
  68. Translate(Element[cartes, carte8], Vector[(0, 0), ((Mod[carte8 - 1, 6] * 2), (Div[carte8 - 1, 6] * 2.8)) + B_3]) → cart8
  69. Translate(Element[cartes, carte9], Vector[(0, 0), ((Mod[carte9 - 1, 6] * 2), (Div[carte9 - 1, 6] * 2.8)) + B_3]) → cart9
  70. Translate(Element[cartes, carte10], Vector[(0, 0), ((Mod[carte10 - 1, 6] * 2), (Div[carte10 - 1, 6] * 2.8)) + B_3]) → cart10
  71. Translate(Element[cartes, carte11], Vector[(0, 0), ((Mod[carte11 - 1, 6] * 2), (Div[carte11 - 1, 6] * 2.8)) + B_3]) → cart11
  72. Translate(Element[cartes, carte12], Vector[(0, 0), ((Mod[carte12 - 1, 6] * 2), (Div[carte12 - 1, 6] * 2.8)) + B_3]) → cart12
  73. Translate(Element[cartes, carte13], Vector[(0, 0), ((Mod[carte13 - 1, 6] * 2), (Div[carte13 - 1, 6] * 2.8)) + B_3]) → cart13
  74. Translate(Element[cartes, carte14], Vector[(0, 0), ((Mod[carte14 - 1, 6] * 2), (Div[carte14 - 1, 6] * 2.8)) + B_3]) → cart14
  75. Translate(Element[cartes, carte15], Vector[(0, 0), ((Mod[carte15 - 1, 6] * 2), (Div[carte15 - 1, 6] * 2.8)) + B_3]) → cart15

AI 绘图提示语参考

在一个模拟夜市麻将场景中,展示概率分布和几何中心计算。首先生成36个数字,随机选择15个作为麻将牌,并逐步排除已选择的牌,形成多个列表。接着,在坐标系中绘制一个多边形,并计算其顶点与边的中点,最终得到多个交点,用于计算几何中心。整个过程动态展示概率统计和几何计算的实际应用。
以上提示语为根据原始绘图命令整理而来,仅供参考。