With or Without Replacement Demo

With or Without Replacement Demo
Loading the math board and drawing, please wait…
2017-04-06 05:36
In collections Probability Review
This example demonstrates the difference between with and without replacement in probability statistics, involving core concepts like probability theory, combinatorics, and random events. It constructs using GeoGebra commands like Random, Element, Textfield, RandomElement, If, suitable for high school and university-level probability courses.

GeoGebra Commands & Parameters

  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