有放回与无放回随机抽取

有放回与无放回随机抽取
几何画板及绘图内容加载中,请稍等……
2017-04-06 05:42
这个范例展示了有放回与无放回随机抽取的概念。涉及的核心数学概念包括概率统计。作图要点包括使用Random, Element, Textfield, RandomElement, If等命令。适合用于概率统计的教学与学习。

GeoGebra 命令及参数

  1. Random(1, 2) → ptype
  2. Random(2, 4) → c
  3. Random(4, 10) → b
  4. Random(4, 10) → a
  5. Element({(a / (a + b))^(c), nPr[a, c] / nPr[a + b, c]}, ptype) → cans
  6. Textfield(ans) → inputBox1
  7. RandomElement({"Not Quite", "Try Again"}) → eres
  8. If(ans ≟ cans, true, false) → acor
  9. RandomElement({"Good Job", "Great!", "Way to Go!", "Awesome"}) → text5
  10. Element(oplist, ptype) → op