标准差与平均数测验
2015-01-23 06:23
本GeoGebra范例是一个交互式统计学测验工具,用于帮助学生练习平均数与标准差的计算。系统随机生成一组数据并绘制点图,学生需计算数据的平均数和标准差并在输入框填写答案。点击检查按钮后,系统会自动判定正误。该工具结合了随机数生成、列表操作与统计函数,是概率统计教学中极佳的互动练习素材。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.286.0" id="a58d605d-36af-4f0c-b3da-4811cbfd33ce" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="960" height="660" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.2409090909090909" orientation="0" />
</panes>
<views>
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="true" location="1,1" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="2" size="491" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="1" size="493" window="926,340,250,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 | 1011 || 1008 1009 || 6" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="16" visible="true" inframe="false" stylebar="false" location="0" size="159" window="427,150,500,500" />
<view id="32" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="128" visible="false" inframe="true" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="4097" visible="false" inframe="true" stylebar="true" location="1" size="583" window="327,24,953,772" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" 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 | 551 550 11 , 22 , 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="300" window="50,50,500,500" />
</views>
<toolbar show="false" items="0 39 59 || 1 501 67 , 5 19 , 72 | 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 | 30 29 54 32 31 33 | 17 26 62 , 14 66 68 | 25 52 60 61 || 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="24"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="958" height="491"/>
<coordSystem xZero="0" yZero="475.00000000000017" scale="46.19230769230772" yscale="46.1923076923077"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="1" 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="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression="" axisCrossEdge="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression="" axisCrossEdge="true"/>
<grid distX="0.5" distY="0.5" distTheta="0.5235987755982988"/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="958" height="159"/>
<coordSystem xZero="20.363636363636353" yZero="84.99999999999991" scale="33.706298634741636" yscale="16.853149317370814"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="0" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="250" b="205"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="10"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression="" axisCrossEdge="true" positiveAxis="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression="" positiveAxis="true"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="2" spreadsheet="2"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="DataMax">
<value val="25"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="DataMin">
<value val="1"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="NumberMax">
<value val="7"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="NumberMin">
<value val="2"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="Random">
<input a0="NumberMin" a1="NumberMax"/>
<output a0="n1"/>
</command>
<element type="numeric" label="n1">
<value val="6"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<expression label="n2" exp="n1 + 1" />
<element type="numeric" label="n2">
<value val="7"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<command name="Sequence">
<input a0="Random[DataMin, DataMax]" a1="i" a2="1" a3="n1"/>
<output a0="list1"/>
</command>
<element type="list" label="list1">
<objColor r="0" g="100" b="0" alpha="0.1"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Mod">
<input a0="Sum[list1]" a1="n2"/>
<output a0="r1"/>
</command>
<element type="numeric" label="r1">
<value val="2"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<command name="Append">
<input a0="n2 - r1" a1="list1"/>
<output a0="list2"/>
</command>
<element type="list" label="list2">
<objColor r="0" g="100" b="0" alpha="0.1"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<element type="button" label="buttonNext">
<show object="true" label="true" ev="1"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelOffset x="831" y="412"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[f1,1] SetValue[f2,1] SetValue[mean,false] SetValue[root,false] SetVisibleInView[picCorrect,1,false] SetVisibleInView[picWrong,1,false] SetVisibleInView[buttonNext,1,false] UpdateConstruction[]"/>
<font serif="false" sizeM="2" size="24" style="0"/>
<caption val="Next"/>
</element>
<command name="DotPlot">
<input a0="list2"/>
<output a0="listDot"/>
</command>
<element type="list" label="listDot">
<show object="true" label="false" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="-1"/>
</element>
<command name="Mean">
<input a0="list2"/>
<output a0="m"/>
</command>
<element type="numeric" label="m">
<value val="10"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<command name="Mod">
<input a0="Sum[list2]" a1="n2"/>
<output a0="r2"/>
</command>
<element type="numeric" label="r2">
<value val="0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<command name="Sequence">
<input a0="Element[list2, i] - m" a1="i" a2="1" a3="Length[list2]"/>
<output a0="listDiff"/>
</command>
<element type="list" label="listDiff">
<objColor r="0" g="100" b="0" alpha="0.1"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<element type="numeric" label="f1">
<value val="1"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="f2">
<value val="1"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="Textfield">
<input a0="f1"/>
<output a0="inputBox1"/>
</command>
<element type="textfield" label="inputBox1">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="214" y="193"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<font serif="false" sizeM="1.6666666666666667" size="16" style="0"/>
<linkedGeo exp="f1"/>
<length val="12"/>
<caption val="-"/>
</element>
<command name="Textfield">
<input a0="f2"/>
<output a0="inputBox2"/>
</command>
<element type="textfield" label="inputBox2">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="368" y="269"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<font serif="false" sizeM="1.6666666666666667" size="16" style="0"/>
<linkedGeo exp="f2"/>
<length val="3"/>
<caption val="-"/>
</element>
<expression label="answer2" exp="sqrt(f1 / f2)" />
<element type="numeric" label="answer2">
<value val="1"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<command name="SD">
<input a0="list2"/>
<output a0="sd"/>
</command>
<element type="numeric" label="sd">
<value val="5.80640040940045"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<element type="boolean" label="mean">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="24" y="109"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="Mean ="/>
</element>
<element type="button" label="button2">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="818" y="85"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[Chinese,!Chinese] SetCaption[button1,If[Chinese,"另一組數據","New data"]] SetCaption[button2,If[Chinese,"ENG","中文"]] SetCaption[root,If[Chinese,"取平方根","take square root"]] SetCaption[box1,If[Chinese,"平均數 =","Mean ="]] SetCaption[box2,If[Chinese,"數據與平均數的偏差:","Deviations from the mean:"]] SetCaption[meanSeg,If[Chinese,"平均數","Mean"]]"/>
<font serif="false" sizeM="1.4" size="10" style="0"/>
<caption val="ENG"/>
</element>
<element type="boolean" label="root">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="719" y="243"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="take square root"/>
</element>
<expression label="text5c" exp=""σ=\;\frac{\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;}{\\\\\\\;}""/>
<element type="text" label="text5c">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.6666666666666667" size="16" style="0"/>
<absoluteScreenLocation x="93" y="234"/>
</element>
<expression label="answer1" exp="f1 / f2" />
<element type="numeric" label="answer1">
<value val="1"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<selectionAllowed val="false"/>
</element>
<command name="Line">
<input a0="(m, 0)" a1="(m, 1)"/>
<output a0="meanSeg"/>
</command>
<element type="line" label="meanSeg">
<show object="true" label="true" ev="3"/>
<condition showObject="mean"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-1" y="12"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<auxiliary val="true"/>
<coords x="-1" y="0" z="10"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<caption val="Mean"/>
</element>
<element type="point" label="A">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2.5446584938704024" y="7.9337260677466865" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="10.544658493870408" y="7.9337260677466865" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="image" label="pic1">
<file name="70afa4b052acc09a121ab23f5b1ae336\root.png"/>
<inBackground val="false"/>
<absoluteScreenLocation x="147" y="369"/> <show object="true" label="true"/>
<condition showObject="root"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
</element>
<command name="TableText">
<input a0="{list2}" a1=""c""/>
<output a0="text2"/>
</command>
<element type="text" label="text2">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="10" style="1"/>
<absoluteScreenLocation x="104" y="24"/>
</element>
<element type="button" label="buttonCheck">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="0" alpha="255"/>
<layer val="1"/>
<labelOffset x="727" y="412"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetVisibleInView[picCorrect,1,correct] SetVisibleInView[picWrong,1,!correct] SetVisibleInView[buttonNext,1,true] SetValue[marks,If[correct,marks+1,marks]]"/>
<font serif="false" sizeM="2" size="24" style="0"/>
<caption val="Check"/>
</element>
<element type="numeric" label="marks">
<value val="0"/>
<show object="false" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.1"/>
<layer val="1"/>
<labelMode val="1"/>
<slider min="0" max="1000" absoluteScreenLocation="true" width="200" x="686" y="528" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="correct" exp="answer2 ≟ sd ∧ root" />
<element type="boolean" label="correct">
<value val="false"/>
<show object="false" label="false"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="numeric" label="lang">
<value val="2"/>
<symbolic val="true" />
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="3"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="button" label="button0">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="3"/>
<labelOffset x="874" y="116"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[lang,If[lang==1,2,1]] RunClickScript[buttonLang] "/>
<font serif="false" sizeM="1.4" size="10" style="0"/>
<caption val="中文"/>
</element>
<element type="button" label="buttonLang">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="3"/>
<labelOffset x="872" y="340"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetCaption[button0,If[lang==1,"ENG","中文"]] SetCaption[buttonNext,If[lang==1,"下一題","Next"]] SetCaption[buttonCheck,If[lang==1,"核對","Check"]] SetCaption[root,If[lang==1,"取平方根","take square root"]] SetCaption[mean,If[lang==1,"平均數 =","Mean ="]] SetCaption[meanSeg,If[lang==1,"平均數","Mean"]]"/>
<font serif="false" sizeM="2" size="24" style="0"/>
</element>
<expression label="text3" exp=""" + (If[lang ≟ 1, "分數", "Marks"]) + " = " + marks + """ />
<element type="text" label="text3">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="543" y="438"/>
</element>
<expression label="text5a" exp=""" + (LaTeX[If[lang ≟ 1, "\text{標準差}", "\text{Standard deviation}"]]) + """ />
<element type="text" label="text5a">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="0.7" size="-8" style="0"/>
<absoluteScreenLocation x="9" y="184"/>
</element>
<expression label="text6" exp=""=\underline\underline{ " + (LaTeX[If[root, answer2, answer1]]) + "}"" />
<element type="text" label="text6">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.7" size="17" style="0"/>
<significantfigures val="3"/>
<absoluteScreenLocation x="130" y="380"/>
</element>
<expression label="text1" exp=""" + (If[lang ≟ 1, "數據:", "Data:"]) + """ />
<element type="text" label="text1">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="29" y="59"/>
</element>
<element type="image" label="picCorrect">
<file name="47081ad8d4520594314213b4c41ffe12/tick.png"/>
<inBackground val="false"/>
<absoluteScreenLocation x="300" y="433"/> <show object="true" label="true" ev="1"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="3"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
</element>
<element type="image" label="picWrong">
<file name="69ff330e3f45940f046ffd40a69f549f/cross.png"/>
<inBackground val="false"/>
<absoluteScreenLocation x="301" y="433"/> <show object="true" label="true" ev="1"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="3"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
</element>
<expression label="text4" exp=""" + (LaTeX[m]) + """ />
<element type="text" label="text4">
<show object="true" label="true" ev="8"/>
<condition showObject="mean"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="10" style="1"/>
<absoluteScreenLocation x="165" y="107"/>
</element>
</construction>
</geogebra>