Mean, Median, Mode, Range

Mean, Median, Mode, Range
Loading the math board and drawing, please wait…
2019-02-16 01:27
This example demonstrates how to calculate the mean, median, mode, and range of a set of data. Key mathematical concepts include basic statistics. Using GeoGebra commands such as Random, Sort, RandomElement, Max, Median, Min, CountIf, Element, Segment, a dynamic dataset is constructed to show how these statistics change. Suitable for students at the junior high school level and above to learn basic statistics.

GeoGebra Commands & Parameters

  1. Random(Low, High) → J
  2. Random(Low, High) → I
  3. Random(Low, High) → H
  4. Random(Low, High) → G
  5. Random(Low, High) → F
  6. Random(Low, High) → E
  7. Random(Low, High) → D
  8. Random(Low, High) → C
  9. Random(Low, High) → B
  10. Random(Low, High) → A
  11. Sort({A, B, C, D, E, F}) → sL_6
  12. Sort({A, B, C, D, E, F, G}) → sL_7
  13. Sort({A, B, C, D, E, F, G, H, I, J}) → sL_8
  14. Sort({A, B, C, D, E, F, G, H, I}) → sL_9
  15. Sort({A, B, C, D, E, F, G, H, I, J}) → sL_5
  16. RandomElement({L_6, L_7, L_8, L_9, L_5}) → Final
  17. Max(Final) → HighestNumber
  18. Median(Final) → Median
  19. Sort(Final) → SortFinal
  20. Min(Final) → LowestNum
  21. CountIf(x > -1, Final) → Elems
  22. Element(SortFinal, 1) → A_s
  23. Element(SortFinal, 2) → B_s
  24. Element(SortFinal, 3) → C_s
  25. Element(SortFinal, 4) → D_s
  26. Element(SortFinal, 5) → E_s
  27. Element(SortFinal, 6) → F_s
  28. Element(SortFinal, 7) → G_s
  29. Element(SortFinal, 8) → H_s
  30. Element(SortFinal, 9) → I_s
  31. Element(SortFinal, 10) → J_s
  32. Segment(K, L) → l
  33. Segment(M, N) → m