Calculate Mean, Median, and Mode
Loading the math board and drawing, please wait…
This example demonstrates how to calculate the mean, median, and mode of a set of data. The core mathematical concepts involved include mean (arithmetic average), median (the middle number after sorting), and mode (the most frequently occurring number). Key construction points involve using GeoGebra commands such as Sequence (to generate sequences), CountIf (to count conditions), TableText (to display table text), mean (to calculate the mean), Mode (to calculate the mode), and Median (to calculate the median). It is suitable for middle school students and above for learning and practicing probability and statistics.
GeoGebra Commands & Parameters
Sequence(Random[1, 6], t, 1, n) → LCountIf(x ≟ 1, L) → B4CountIf(x ≟ 2, L) → B5CountIf(x ≟ 3, L) → B6CountIf(x ≟ 4, L) → B7CountIf(x ≟ 5, L) → B8CountIf(x ≟ 6, L) → B9TableText({{A3}, {A4}, {A5}, {A6}, {A7}, {A8}, {A9}}, "l_|h") → texto3TableText({{A3, B3}, {A4, B4}, {A5, B5}, {A6, B6}, {A7, B7}, {A8, B8}, {A9, B9}, {A10, B10}}, "l_|h") → texto4TableText({{A3, B3, C3}, {A4, B4, C4}, {A5, B5, C5}, {A6, B6, C6}, {A7, B7, C7}, {A8, B8, C8}, {A9, B9, C9}, {A10, B10, C10}}, "l_|h") → texto5TableText({{A3, B3, C3, D3}, {A4, B4, C4, D4}, {A5, B5, C5, D5}, {A6, B6, C6, D6}, {A7, B7, C7, D7}, {A8, B8, C8, D8}, {A9, B9, C9, D9}, {A10, B10, C10, D10}}, "l_|h") → texto6TableText({{A3, B3, C3, D3, E3}, {A4, B4, C4, D4, E4}, {A5, B5, C5, D5, E5}, {A6, B6, C6, D6, E6}, {A7, B7, C7, D7, E7}, {A8, B8, C8, D8, E8}, {A9, B9, C9, D9, E9}, {A10, B10, C10, D10, E10}}, "l_|h") → texto7TableText({{A3, B3, C3, D3, E3, F3}, {A4, B4, C4, D4, E4, F4}, {A5, B5, C5, D5, E5, F5}, {A6, B6, C6, D6, E6, F6}, {A7, B7, C7, D7, E7, F7}, {A8, B8, C8, D8, E8, F8}, {A9, B9, C9, D9, E9, F9}, {A10, B10, C10, D10, E10, F10}}, "l_|h") → texto8mean(L) → A13Mode(L) → A14Median(L) → A15CountIf(x ≟ 1, L) → B18CountIf(x ≟ 2, L) → B19CountIf(x ≟ 3, L) → B20CountIf(x ≟ 4, L) → B21CountIf(x ≟ 5, L) → B22CountIf(x ≟ 6, L) → B23TableText({{A17, B17, C17}, {A18, B18, C18}, {A19, B19, C19}, {A20, B20, C20}, {A21, B21, C21}, {A22, B22, C22}, {A23, B23, C23}, {A24, B24, C24}}, "|_lll") → texto14