Independent Events Probability Demo

Independent Events Probability Demo
Loading the math board and drawing, please wait…
2018-07-24 22:00
This example demonstrates how to construct probability calculations for independent events using GeoGebra. Key math concepts include probability, independent events, integers, percentages, and sequences. Construction highlights the use of LaTeX, text fields, If statements, and objects like TryAnother, HowDidIDo, StudentAns series, and multiple input boxes and action objects. Suitable for high school students learning probability & statistics.

GeoGebra Commands & Parameters

  1. LaTeX("Therefore\ the\ probability\ is") → Therefore
  2. LaTeX("Therefore,\, the\ total\ number\ of\\ favourable\ outcomes\ is") → ThereforeFav
  3. LaTeX("Therefore,\, the\ total\ number\ of\\ possible\ outcomes\ is") → ThereforePos
  4. Textfield(StudentAns3) → InputBox1
  5. Textfield(StudentAns6) → InputBox2
  6. Textfield(StudentAns7) → InputBox3
  7. Textfield(StudentAns1) → InputBox4
  8. Textfield(StudentAns2) → InputBox5
  9. Textfield(StudentAns4) → InputBox6
  10. Textfield(StudentAns5) → InputBox7
  11. LaTeX("\textbf{Instructions\text{:}}\ Type\ the\ numbers\ into\ the\ input\ boxes.") → Instructions2
  12. LaTeX("\checkmark") → Check1
  13. LaTeX("\checkmark") → Check2
  14. LaTeX("\checkmark") → Check3
  15. LaTeX("\checkmark") → Check4
  16. LaTeX("\checkmark") → Check5
  17. LaTeX("\checkmark") → Check6
  18. LaTeX("\checkmark") → Check7
  19. LaTeX("\times") → Wrong1
  20. LaTeX("\times") → Wrong2
  21. LaTeX("\times") → Wrong3
  22. LaTeX("\times") → Wrong4
  23. LaTeX("\times") → Wrong5
  24. LaTeX("\times") → Wrong6
  25. LaTeX("\times") → Wrong7
  26. LaTeX((((((((((((((("There\ are\ " * E1outcomes) * "\ outcomes\ for\ the\ ") * object1) * "\ and\ ") * E2outcomes) * "\ for\ the\ ") * object2) * ".\\ Therefore\ there\ are\ ") * E1outcomes) * "\times") * E2outcomes) * "=") * PosOutcomes) * "\ possible\ outcomes.")) → S1FBWrong
  27. If(E1Favoutcomes ≟ 1, "way", "ways") → way1
  28. If(E2Favoutcomes ≟ 1, "way", "ways") → way2
  29. If(E1Favoutcomes ≟ 1, "is", "are") → are1
  30. If(E2Favoutcomes ≟ 1, "is", "are") → are2
  31. LaTeX((((((((((((((((((((((((("There\ " * are1) * "\ ") * E1Favoutcomes) * "\ ") * way1) * "\ to\ ") * action1) * "\ ") * value1) * "\ and,\\ ") * E2Favoutcomes) * "\ ") * way2) * "\ to\ ") * action2) * "\ ") * value2) * ".\\ Therefore\ there\ are\ ") * E1Favoutcomes) * "\times") * E2Favoutcomes) * "=") * FavOutcomes) * "\ favourable\ outcomes.")) → S2FBDone
  32. LaTeX((((((("The\ probability\ is\ \dfrac{" * FavOutcomes) * "}{") * PosOutcomes) * "}") * or) * ".")) → S3FBWrong
  33. LaTeX("Part\ 1") → Part1
  34. LaTeX("Part\ 2") → Part2
  35. LaTeX("Part\ 3") → Part3
  36. LaTeX("\underline{Total\ Number\ of\ Possible\ Outcomes}") → TotalPosText
  37. LaTeX("\underline{Total\ Number\ of\ Favourable\ Outcomes}") → TotalFavText
  38. LaTeX((((((((((((event1 * "\ and\\ ") * event2) * ".\\ What\ is\ the\ probability\ of\ ") * action1a) * "\ ") * value1) * "\ and\\ ") * action2a) * "\ ") * value2) * "?")) → Instructions1
  39. LaTeX((((("Number\ of\ possible\ outcomes\ for\ the\\ " * first) * "") * thing1) * ":")) → Outcomes1a
  40. LaTeX((((("Number\ of\ possible\ outcomes\ for\ the\\ " * second) * "") * thing2) * ":")) → Outcomes1b
  41. LaTeX((((("Number\ of\ ways\ to\ " * action1) * "\\ ") * value1) * ":")) → Outcomes2a
  42. LaTeX((((("Number\ of\ ways\ to\ " * action2) * "\\ ") * value2) * ":")) → Outcomes2b
  43. LaTeX("Type\ a\ number\ into\ the\ input\ boxes\ before\ checking\ your\ work.") → S2FBNotStarted
  44. LaTeX("Type\ a\ number\ into\ the\ input\ box\ before\ checking\ your\ work.") → S3FBNotStarted