Dynamic Tree Diagram

Dynamic Tree Diagram
Loading the math board and drawing, please wait…
2013-11-15 02:02
This example demonstrates through a dynamic tree diagram that a tree diagram is not always a useful tool in all situations. It involves the concept of tree diagrams in probability and statistics, and uses commands such as Intersect, Random, If, Segment, and Textfield to construct the dynamic tree diagram. Suitable for middle school and above students to learn probability and statistics.

GeoGebra Commands & Parameters

  1. Intersect(xAxis, yAxis) → A
  2. Random(1, 3) → i
  3. If(i ≟ 1, tekst7, tekst6) → tekst_{soort}
  4. Random(1, 5) → b
  5. Segment(B, C) → a
  6. Segment(B, A) → c
  7. Segment(H, A) → d
  8. Segment(G, A) → e
  9. Segment(A, F) → f
  10. Segment(A, E) → g
  11. Segment(A, C) → h
  12. Segment(J, K) → k
  13. Segment(B, M) → l
  14. Segment(C, L) → m
  15. Segment(B, O) → n
  16. Segment(B, N) → p
  17. Segment(C, M) → q
  18. Segment(C, M) → r
  19. Segment(C, N) → s
  20. Segment(B, O) → t
  21. Segment(B, P) → a_1
  22. Segment(B, Q) → b_1
  23. Segment(C, M) → c_1
  24. Segment(E, M) → d_1
  25. Segment(B, N) → e_1
  26. Segment(B, Q) → f_1
  27. Segment(B, P) → g_1
  28. Segment(E, O) → h_1
  29. Segment(E, N) → i_1
  30. Segment(C, M) → j_1
  31. Segment(C, M) → k_1
  32. Segment(C, N) → l_1
  33. Segment(E, O) → m_1
  34. Segment(E, P) → n_1
  35. Segment(E, Q) → p_1
  36. Segment(B, R) → q_1
  37. Segment(B, S) → r_1
  38. Segment(B, T) → s_1
  39. Segment(B, O) → t_1
  40. Segment(F, N) → a_2
  41. Segment(E, M) → b_2
  42. Segment(C, M) → c_2
  43. Segment(E, N) → d_2
  44. Segment(E, O) → e_2
  45. Segment(F, P) → f_2
  46. Segment(F, Q) → g_2
  47. Segment(B, R) → h_2
  48. Segment(B, S) → i_2
  49. Segment(C, M) → j_2
  50. Segment(C, N) → k_2
  51. Segment(E, O) → l_2
  52. Segment(E, P) → m_2
  53. Segment(E, Q) → n_2
  54. Segment(F, R) → p_2
  55. Segment(F, S) → q_2
  56. Segment(F, T) → r_2
  57. Segment(B, U) → s_2
  58. Segment(B, V) → t_2
  59. Segment(B, W) → a_3
  60. Segment(B, P) → b_3
  61. Segment(G, O) → c_3
  62. Segment(F, N) → d_3
  63. Segment(E, M) → e_3
  64. Segment(C, M) → f_3
  65. Segment(E, N) → g_3
  66. Segment(E, O) → h_3
  67. Segment(F, P) → i_3
  68. Segment(F, Q) → j_3
  69. Segment(G, R) → k_3
  70. Segment(G, S) → l_3
  71. Segment(B, T) → m_3
  72. Segment(B, U) → n_3
  73. Segment(C, M) → p_3
  74. Segment(C, N) → q_3
  75. Segment(E, O) → r_3
  76. Segment(E, P) → s_3
  77. Segment(E, Q) → t_3
  78. Segment(F, R) → a_4
  79. Segment(F, S) → b_4
  80. Segment(F, T) → c_4
  81. Segment(G, U) → d_4
  82. Segment(G, V) → e_4
  83. Segment(G, W) → f_4
  84. Segment(B, Z) → g_4
  85. Segment(B, A_1) → h_4
  86. Segment(B, B_1) → i_4
  87. Segment(E, M) → j_4
  88. Segment(F, N) → k_4
  89. Segment(G, O) → l_4
  90. Segment(H, P) → m_4
  91. Segment(B, Q) → n_4
  92. Segment(F, N) → p_4
  93. Segment(E, N) → r_4
  94. Segment(O, E) → s_4
  95. Segment(F, P) → t_4
  96. Segment(F, Q) → a_5
  97. Segment(G, R) → b_5
  98. Segment(G, S) → c_5
  99. Segment(H, T) → d_5
  100. Segment(H, U) → e_5
  101. Segment(B, V) → f_5
  102. Segment(B, W) → g_5
  103. Segment(C, M) → q_4
  104. Segment(C, M) → h_5
  105. Segment(C, N) → i_5
  106. Segment(E, O) → j_5
  107. Segment(E, P) → k_5
  108. Segment(E, Q) → l_5
  109. Segment(F, R) → m_5
  110. Segment(F, S) → n_5
  111. Segment(F, T) → p_5
  112. Segment(G, U) → q_5
  113. Segment(G, V) → r_5
  114. Segment(G, W) → s_5
  115. Segment(H, Z) → t_5
  116. Segment(H, A_1) → a_6
  117. Segment(H, B_1) → b_6
  118. Segment(B, C_1) → c_6
  119. Segment(B, D_1) → d_6
  120. Segment(B, E_1) → e_6
  121. Textfield(uu) → tekstveld1