夜市麻將概率与几何演示
几何画板及绘图内容加载中,请稍等……
①本范例通过动态演示夜市麻將场景中的概率分布与几何中心计算;②涉及核心数学概念包括機率、幾何中心或重心、一般四邊形、二維向量、周長、黎曼和(Riemann Sum);③构造过程中运用了 Sequence, Element, KeepIf, Length, Intersection, Div, Translate 等GeoGebra命令及对象;④适合高中数学教学,用于理解概率统计与几何计算的实际应用。
GeoGebra 命令及参数
Sequence(k, k, 1, 36) → list2Sequence(Random[1, 36 - k], k, 0, 14) → list1Element(list1, 1) → carte1KeepIf(x ≠ carte1, list2) → list3Element(list3, Element[list1, 2]) → carte2KeepIf(x ≠ carte2, list3) → list4Element(list4, Element[list1, 3]) → carte3KeepIf(x ≠ carte3, list4) → list5Element(list5, Element[list1, 4]) → carte4KeepIf(x ≠ carte4, list5) → list6Element(list6, Element[list1, 5]) → carte5KeepIf(x ≠ carte5, list6) → list7Element(list7, Element[list1, 6]) → carte6KeepIf(x ≠ carte6, list7) → list8Element(list8, Element[list1, 7]) → carte7KeepIf(x ≠ carte7, list8) → list9Element(list9, Element[list1, 8]) → carte8KeepIf(x ≠ carte8, list9) → list10Element(list10, Element[list1, 9]) → carte9KeepIf(x ≠ carte9, list10) → list11Element(list11, Element[list1, 10]) → carte10KeepIf(x ≠ carte10, list11) → list12Element(list12, Element[list1, 11]) → carte11KeepIf(x ≠ carte11, list12) → list13Element(list13, Element[list1, 12]) → carte12KeepIf(x ≠ carte12, list13) → list14Element(list14, Element[list1, 13]) → carte13KeepIf(x ≠ carte13, list14) → list15Element(list15, Element[list1, 14]) → carte14KeepIf(x ≠ carte14, list15) → list16Element(list16, Element[list1, 15]) → carte15Length(list1) → nIntersection(s1, list0) → t1Div(Length[t1], 6) → n1Intersection(s2, list0) → t2Intersection(s3, list0) → t3Intersection(s4, list0) → t4Intersection(s5, list0) → t5Intersection(s6, list0) → t6Intersection(s7, list0) → t7Intersection(s8, list0) → t8Intersection(s9, list0) → t9Intersection(s10, list0) → t10Intersection(s11, list0) → t11Intersection(s12, list0) → t12Intersection(s13, list0) → t13Intersection(s14, list0) → t14Div(Length[t2], 6) → n2Div(Length[t3], 6) → n3Div(Length[t4], 6) → n4Div(Length[t5], 6) → n5Div(Length[t6], 6) → n6Div(Length[t7], 6) → n7Div(Length[t8], 6) → n8Div(Length[t9], 6) → n9Div(Length[t10], 6) → n10Div(Length[t11], 6) → n11Div(Length[t12], 6) → n12Div(Length[t13], 6) → n13Div(Length[t14], 6) → n14Translate(Element[cartes, carte1], Vector[(0, 0), ((Mod[carte1 - 1, 6] * 2), (Div[carte1 - 1, 6] * 2.8)) + B_3]) → cart1Translate(Element[cartes, carte2], Vector[(0, 0), ((Mod[carte2 - 1, 6] * 2), (Div[carte2 - 1, 6] * 2.8)) + B_3]) → cart2Translate(Element[cartes, carte3], Vector[(0, 0), ((Mod[carte3 - 1, 6] * 2), (Div[carte3 - 1, 6] * 2.8)) + B_3]) → cart3Translate(Element[cartes, carte4], Vector[(0, 0), ((Mod[carte4 - 1, 6] * 2), (Div[carte4 - 1, 6] * 2.8)) + B_3]) → cart4Translate(Element[cartes, carte5], Vector[(0, 0), ((Mod[carte5 - 1, 6] * 2), (Div[carte5 - 1, 6] * 2.8)) + B_3]) → cart5Translate(Element[cartes, carte6], Vector[(0, 0), ((Mod[carte6 - 1, 6] * 2), (Div[carte6 - 1, 6] * 2.8)) + B_3]) → cart6Translate(Element[cartes, carte7], Vector[(0, 0), ((Mod[carte7 - 1, 6] * 2), (Div[carte7 - 1, 6] * 2.8)) + B_3]) → cart7Translate(Element[cartes, carte8], Vector[(0, 0), ((Mod[carte8 - 1, 6] * 2), (Div[carte8 - 1, 6] * 2.8)) + B_3]) → cart8Translate(Element[cartes, carte9], Vector[(0, 0), ((Mod[carte9 - 1, 6] * 2), (Div[carte9 - 1, 6] * 2.8)) + B_3]) → cart9Translate(Element[cartes, carte10], Vector[(0, 0), ((Mod[carte10 - 1, 6] * 2), (Div[carte10 - 1, 6] * 2.8)) + B_3]) → cart10Translate(Element[cartes, carte11], Vector[(0, 0), ((Mod[carte11 - 1, 6] * 2), (Div[carte11 - 1, 6] * 2.8)) + B_3]) → cart11Translate(Element[cartes, carte12], Vector[(0, 0), ((Mod[carte12 - 1, 6] * 2), (Div[carte12 - 1, 6] * 2.8)) + B_3]) → cart12Translate(Element[cartes, carte13], Vector[(0, 0), ((Mod[carte13 - 1, 6] * 2), (Div[carte13 - 1, 6] * 2.8)) + B_3]) → cart13Translate(Element[cartes, carte14], Vector[(0, 0), ((Mod[carte14 - 1, 6] * 2), (Div[carte14 - 1, 6] * 2.8)) + B_3]) → cart14Translate(Element[cartes, carte15], Vector[(0, 0), ((Mod[carte15 - 1, 6] * 2), (Div[carte15 - 1, 6] * 2.8)) + B_3]) → cart15
AI 绘图提示语参考
在一个模拟夜市麻将场景中,展示概率分布和几何中心计算。首先生成36个数字,随机选择15个作为麻将牌,并逐步排除已选择的牌,形成多个列表。接着,在坐标系中绘制一个多边形,并计算其顶点与边的中点,最终得到多个交点,用于计算几何中心。整个过程动态展示概率统计和几何计算的实际应用。
以上提示语为根据原始绘图命令整理而来,仅供参考。