Arithmetic Mean, Median, and Mode — Interactive Frequency Table
2020-11-27 05:06
This GeoGebra applet, based on the Hanlin Math Grade 7 curriculum (Chapter 5-2), uses spreadsheet objects and the Sequence command to build an interactive frequency distribution table. It dynamically demonstrates how to compute the arithmetic mean, locate the median class, and identify the mode from grouped data. Users can adjust class boundaries and frequencies to observe real-time updates of all
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.564.0" app="classic" platform="offline" id="72847262-D27F-492D-889A-07A5D760A9EA" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1334" height="627" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0" orientation="1" />
</panes>
<views>
<view id="4" toolbar="0 || 2020 , 2021 , 2022 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="200" window="0,0,400,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="1334" window="0,0,400,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="200" window="0,0,200,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="300" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="128" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="4097" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="900" window="50,50,500,500" />
<view id="43" visible="false" inframe="false" stylebar="false" location="1" size="450" window="50,50,500,500" />
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 51 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 73 62 | 1 501 67 , 5 19 , 72 75 76 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 14 68 | 30 29 54 32 31 33 | 25 17 26 60 52 61 | 40 41 42 , 27 28 35 , 6 || 100001 100002 100003 100004 100005 100006 " position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="16"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1334" height="574"/>
<coordSystem xZero="218.00000000000003" yZero="351.99999999999994" scale="50" yscale="49.99999999999999"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="10"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="Paul" date="">
<expression label="A1" exp=""體重(公斤)""/>
<element type="text" label="A1">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="numeric" label="A2">
<value val="40"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B2">
<value val="45"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A3">
<value val="45"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B3">
<value val="50"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A4">
<value val="50"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B4">
<value val="55"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A5">
<value val="55"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B5">
<value val="60"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A6">
<value val="60"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B6">
<value val="65"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A7">
<value val="65"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B7">
<value val="70"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A8">
<value val="70"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B8">
<value val="75"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A9">
<value val="75"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B9">
<value val="80"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="A10">
<value val="80"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="B10">
<value val="85"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C2">
<value val="30"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C3">
<value val="140"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C4">
<value val="200"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C5">
<value val="250"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C6">
<value val="320"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C7">
<value val="390"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C8">
<value val="300"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C9">
<value val="40"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="C10">
<value val="70"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<expression label="C1" exp=""次數(人)""/>
<element type="text" label="C1">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<expression label="B1" exp=""體重(公斤)""/>
<element type="text" label="B1">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="point" label="A">
<show object="true" label="false"/>
<condition showObject="c_2"/>
<objColor r="153" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<coords x="-0.98" y="5.66" z="1"/>
<pointSize val="9"/>
<pointStyle val="3"/>
</element>
<command name="Sequence">
<input a0="0.6" a1="i" a2="1" a3="11"/>
<output a0="表格列高序列"/>
</command>
<element type="list" label="表格列高序列">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="表格欄寬序列" exp="{1.8, 1.5, 1.5, 2.4}"/>
<element type="list" label="表格欄寬序列">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="mytable">
<input a0="A" a1="表格欄寬序列" a2="表格列高序列"/>
<output a0="表格"/>
</command>
<element type="list" label="表格">
<show object="true" label="true"/>
<condition showObject="c_2"/>
<objColor r="255" g="102" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="分配表組別左邊界" exp="A2:A10" />
<element type="list" label="分配表組別左邊界">
<show object="true" label="true"/>
<objColor r="0" g="110" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="分配表組別右邊界" exp="B2:B10" />
<element type="list" label="分配表組別右邊界">
<show object="true" label="true"/>
<objColor r="0" g="110" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="分配表組次數" exp="C2:C10" />
<element type="list" label="分配表組次數">
<show object="true" label="true"/>
<objColor r="0" g="110" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="locpty">
<input a0="A" a1="表格欄寬序列" a2="表格列高序列"/>
<output a0="表格縱列優先點集合"/>
</command>
<element type="list" label="表格縱列優先點集合">
<show object="false" label="true"/>
<objColor r="0" g="110" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="8"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Text[Element[分配表組別左邊界, i]] + "~" + (Text[Element[分配表組別右邊界, i]])" a1="i" a2="1" a3="Length[分配表組別左邊界]"/>
<output a0="分配表組文字"/>
</command>
<element type="list" label="分配表組文字">
<show object="false" label="true"/>
<objColor r="0" g="110" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="locptx">
<input a0="A" a1="表格欄寬序列" a2="表格列高序列"/>
<output a0="表格橫列優先點集合"/>
</command>
<element type="list" label="表格橫列優先點集合">
<show object="false" label="true"/>
<objColor r="204" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="8"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="das">
<input a0="分配表組文字" a1="(0.2, -0.4) + Take[表格縱列優先點集合, 2, 10]"/>
<output a0="集合1"/>
</command>
<element type="list" label="集合1">
<show object="true" label="true"/>
<condition showObject="c_2"/>
<objColor r="204" g="0" b="51" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<angleStyle val="0"/>
</element>
<expression label="表格抬頭文字序列" exp="{"體重(公斤)", "次數(人)", "組中點", "組中點╳次數"}"/>
<element type="list" label="表格抬頭文字序列">
<show object="false" label="true"/>
<objColor r="0" g="110" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="das">
<input a0="表格抬頭文字序列" a1="(0.2, -0.4) + 表格橫列優先點集合"/>
<output a0="集合2"/>
</command>
<element type="list" label="集合2">
<show object="true" label="true"/>
<condition showObject="c_2"/>
<objColor r="0" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<angleStyle val="0"/>
</element>
<expression label="分配表組中點" exp="(分配表組別左邊界 + 分配表組別右邊界) / 2" />
<element type="list" label="分配表組中點">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="das">
<input a0="snts[分配表組次數]" a1="(0.2, -0.4) + Take[表格縱列優先點集合, 13, 21]"/>
<output a0="集合3"/>
</command>
<element type="list" label="集合3">
<show object="true" label="true"/>
<condition showObject="c_2"/>
<objColor r="51" g="102" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<angleStyle val="0"/>
</element>
<command name="das">
<input a0="snts[分配表組中點]" a1="(0.2, -0.4) + Take[表格縱列優先點集合, 24, 32]"/>
<output a0="集合4"/>
</command>
<element type="list" label="集合4">
<show object="true" label="true"/>
<condition showObject="step ≥ 1 ∧ c_2"/>
<objColor r="51" g="102" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<angleStyle val="0"/>
</element>
<command name="das">
<input a0="snts[seqproduct[分配表組中點, 分配表組次數]]" a1="(0.2, -0.4) + Take[表格縱列優先點集合, 35, 43]"/>
<output a0="集合5"/>
</command>
<element type="list" label="集合5">
<show object="true" label="true"/>
<condition showObject="step ≥ 2 ∧ c_2"/>
<objColor r="51" g="102" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<angleStyle val="0"/>
</element>
<element type="numeric" label="step">
<value val="0"/>
<show object="true" label="true"/>
<objColor r="153" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelOffset x="0" y="-4"/>
<labelMode val="1"/>
<slider min="0" max="4" absoluteScreenLocation="true" width="100" x="9" y="170" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<caption val="步驟"/>
</element>
<element type="boolean" label="c_s">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="1" y="93"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="操作說明"/>
</element>
<expression label="文字2" exp=""1. 拉動 step 滑桿,顯示計算分組資料的算術平均數步驟
2. 點選各勾選框,決定物件是否顯示
3. 要複製圖片到文書編輯器,請以滑鼠選擇複製範圍後
 按 Ctrl-Shift-C,即可複製到剪貼簿中,在文書編輯器中按Ctrl-V貼上
4. 為讓表格顯示不失真,請以標準1:1比例的預設值顯示
5. 要更改資料,請點選出 [檢視/試算表] 更改,並注意組距一致性
6. 可移動表格、操作說明左上角定位點,以決定物件位置""/>
<element type="text" label="文字2">
<show object="true" label="true"/>
<condition showObject="c_s"/>
<objColor r="51" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.25" size="4" style="1"/>
<startPoint exp="B"/>
<labelOffset x="-10" y="37"/>
</element>
<element type="point" label="B">
<show object="true" label="false"/>
<condition showObject="c_s"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<coords x="8.74" y="-0.74" z="1"/>
<pointSize val="8"/>
<pointStyle val="3"/>
</element>
<element type="boolean" label="c_1">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="1" y="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="問題"/>
</element>
<expression label="文字6" exp=""如何計算已分組資料的算術平均數?""/>
<element type="text" label="文字6">
<show object="true" label="true"/>
<condition showObject="c_1"/>
<objColor r="0" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.375" size="6" style="1"/>
<startPoint x="-1.0799999999999994" y="6.380000000000002" z="1"/>
</element>
<element type="boolean" label="c_2">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="0" y="30"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="體重資料表"/>
</element>
<command name="das">
<input a0="{"合計", Text[Sum[分配表組次數]], Text[Sum[分配表組中點]], Text[Sum[seqproduct[分配表組次數, 分配表組中點]]]}" a1="(0.2, -0.4) + Take[表格橫列優先點集合, 41, 44]"/>
<output a0="集合6"/>
</command>
<element type="list" label="集合6">
<show object="true" label="true"/>
<condition showObject="step ≥ 3 ∧ c_2"/>
<objColor r="51" g="102" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<font serif="false" sizeM="1.125" size="2" style="1"/>
<angleStyle val="0"/>
</element>
<expression label="文字1" exp=""● 步驟1先算出各組的組中點
:" + (Element[分配表組文字, 1]) + "公斤的「組中點」為" + (Element[分配表組中點, 1]) + " 
:" + (Element[分配表組文字, 2]) + "公斤的「組中點」為" + (Element[分配表組中點, 2]) + "
:::"" />
<element type="text" label="文字1">
<show object="true" label="true"/>
<condition showObject="step ≥ 1 ∧ c_2 ∧ c_5"/>
<objColor r="0" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.125" size="2" style="1"/>
<absoluteScreenLocation x="543" y="89"/>
</element>
<expression label="文字3" exp=""● 步驟2將各組的次數乘以組中點
:" + (Element[分配表組文字, 1]) + "公斤的「次數×組中點」為" + (Element[分配表組次數, 1]) + "×" + (Element[分配表組中點, 1]) + "=" + ((Element[分配表組次數, 1] * Element[分配表組中點, 1])) + "
:" + (Element[分配表組文字, 2]) + "公斤的「次數×組中點」為" + (Element[分配表組次數, 2]) + "×" + (Element[分配表組中點, 2]) + "=" + ((Element[分配表組次數, 2] * Element[分配表組中點, 2])) + "
:::"" />
<element type="text" label="文字3">
<show object="true" label="true"/>
<condition showObject="step ≥ 2 ∧ c_2 ∧ c_5"/>
<objColor r="0" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.125" size="2" style="1"/>
<absoluteScreenLocation x="543" y="197"/>
</element>
<expression label="文字4" exp=""● 步驟3將各組次數乘以組中點的數值相加得其總和
:" + (Element[seqproduct[分配表組次數, 分配表組中點], 1]) + "+" + (Element[seqproduct[分配表組次數, 分配表組中點], 1]) + "+…" + (Element[seqproduct[分配表組次數, 分配表組中點], Length[seqproduct[分配表組次數, 分配表組中點]]]) + "
=" + (Sum[seqproduct[分配表組次數, 分配表組中點]])" />
<element type="text" label="文字4">
<show object="true" label="true"/>
<condition showObject="step ≥ 3 ∧ c_2 ∧ c_5"/>
<objColor r="0" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.125" size="2" style="1"/>
<absoluteScreenLocation x="545" y="311"/>
</element>
<expression label="文字5" exp=""● 步驟4將總和除以總次數即可得算術平均數
:(四捨五入到小數第二位)" + "
:" + (Sum[seqproduct[分配表組次數, 分配表組中點]]) + "÷" + (Sum[分配表組次數]) + "≒" + (Sum[seqproduct[分配表組次數, 分配表組中點]] / Sum[分配表組次數]) + "(公斤)"" />
<element type="text" label="文字5">
<show object="true" label="true"/>
<condition showObject="step ≥ 4 ∧ c_2 ∧ c_5"/>
<objColor r="0" g="51" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.125" size="2" style="1"/>
<absoluteScreenLocation x="171" y="428"/>
</element>
<element type="boolean" label="c_5">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="0" y="60"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="計算步驟顯示"/>
</element>
</construction>
</geogebra>