随机转盘与频率统计模拟
2020-01-28 02:53
本范例展示了一个基于GeoGebra构建的随机转盘模型。点击按钮旋转转盘,利用随机函数生成结果,并实时统计各区域出现的频数与频率。结合柱状图直观展示实验数据分布,帮助学生理解概率与频率的关系及大数定律。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.570.0" app="classic" platform="w" id="4701fca1-2436-4d4e-bf7a-c6210cfe9e73" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1329" height="800" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.6057185854025583" orientation="1" />
<pane location="0" divider="0.2558314522197141" orientation="1" />
</panes>
<views>
<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,1,1" size="500" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="3,1" size="457" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="true" location="3,3" size="340" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="4097" visible="false" inframe="false" stylebar="true" location="1,1" size="240" window="100,100,700,550" />
<view id="16" visible="true" inframe="false" stylebar="true" location="1" size="516" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="150" 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="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" 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" />
</views>
<toolbar show="false" items="0 39 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" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="457" height="800"/>
<coordSystem xZero="376.435587039815" yZero="399.1841461977136" scale="78.91690898437501" yscale="56.36922070312508"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<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"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="516" height="800"/>
<coordSystem xZero="51.03636363636366" yZero="336.2727272727276" scale="45.45454545454541" yscale="30.303030303030273"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<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="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<algebraView>
<mode val="1"/>
<auxiliary show="true"/>
</algebraView>
<kernel>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="2" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<expression label="O" exp="(0, 0)" type="point"/>
<element type="point" label="O">
<show object="false" label="true"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="numeric" label="s1">
<value val="1"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="6" width="2" x="-3.7" y="5.299999999999999" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="s2">
<value val="1"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="6" width="2" x="-3.7" y="4.499999999999998" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="s3">
<value val="1"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="255" g="0" b="136" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="6" width="2" x="-3.7" y="3.699999999999998" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="s4">
<value val="1"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="136" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="6" width="2" x="-3.7" y="2.8999999999999977" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="s5">
<value val="1"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="136" g="0" b="255" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="6" width="2" x="-3.7" y="2.0999999999999974" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="s6">
<value val="1"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="136" b="255" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="6" width="2" x="-3.7" y="1.2999999999999972" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="ss" exp="{s1, s2, s3, s4, s5, s6}" />
<element type="list" label="ss">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<command name="Sum">
<input a0="ss"/>
<output a0="total"/>
</command>
<element type="numeric" label="total">
<value val="6"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Sequence">
<input a0="ss(k) / total" a1="k" a2="1" a3="6"/>
<output a0="ps"/>
</command>
<element type="list" label="ps">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<command name="Sequence">
<input a0="Sum[ps, k]" a1="k" a2="1" a3="6"/>
<output a0="sps"/>
</command>
<element type="list" label="sps">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<command name="Sequence">
<input a0="(1; ((sps(k) * 2) * π))" a1="k" a2="1" a3="6"/>
<output a0="Ps"/>
</command>
<element type="list" label="Ps">
<show object="false" label="true"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="CircleSector">
<input a0="O" a1="Ps(6)" a2="Ps(1)"/>
<output a0="Cs1"/>
</command>
<element type="conicpart" label="Cs1">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-1" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleSector">
<input a0="O" a1="Ps(1)" a2="Ps(2)"/>
<output a0="Cs2"/>
</command>
<element type="conicpart" label="Cs2">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-1" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleSector">
<input a0="O" a1="Ps(2)" a2="Ps(3)"/>
<output a0="Cs3"/>
</command>
<element type="conicpart" label="Cs3">
<show object="true" label="false"/>
<objColor r="255" g="0" b="136" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-1" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleSector">
<input a0="O" a1="Ps(3)" a2="Ps(4)"/>
<output a0="Cs4"/>
</command>
<element type="conicpart" label="Cs4">
<show object="true" label="false"/>
<objColor r="0" g="136" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-1" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleSector">
<input a0="O" a1="Ps(4)" a2="Ps(5)"/>
<output a0="Cs5"/>
</command>
<element type="conicpart" label="Cs5">
<show object="true" label="false"/>
<objColor r="136" g="0" b="255" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-1" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleSector">
<input a0="O" a1="Ps(5)" a2="Ps(6)"/>
<output a0="Cs6"/>
</command>
<element type="conicpart" label="Cs6">
<show object="true" label="false"/>
<objColor r="0" g="136" b="255" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-1" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="button" label="button1">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="324" y="83"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetColor(Cs1,"#FF0000")
SetColor(Cs2,"#0000FF")
SetColor(Cs3,"#FF0088")
SetColor(Cs4,"#008800")
SetColor(Cs5,"#8800FF")
SetColor(Cs6,"#0088FF")
SetColor(s1,"#FF0000")
SetColor(s2,"#0000FF")
SetColor(s3,"#FF0088")
SetColor(s4,"#008800")
SetColor(s5,"#8800FF")
SetColor(s6,"#0088FF")"/>
<font serif="false" sizeM="2" size="12" style="0"/>
<caption val="颜色"/>
</element>
<element type="numeric" label="spinner">
<value val="527"/>
<symbolic val="true" />
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="(360 * turn) + end" absoluteScreenLocation="true" width="200" x="246" y="42" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="10" type="3" playing="false"/>
</element>
<command name="Vector">
<input a0="(1; ((spinner / 360 * 2) * π))"/>
<output a0="tip"/>
</command>
<element type="vector" label="tip">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-0.9743700647852351" y="0.22495105434386545" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
</element>
<command name="Random">
<input a0="1" a1="360"/>
<output a0="end"/>
</command>
<element type="numeric" label="end">
<value val="242"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Random">
<input a0="1" a1="2"/>
<output a0="turn"/>
</command>
<element type="numeric" label="turn">
<value val="1"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<element type="button" label="button2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="329" y="143"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="spinner=0
turn=Random(1,2)
end=Random(1,360)
StartAnimation(spinner,True)
new = Sequence(If(k==spinIndex,1,0),k,1,6) 
SetValue(nums,nums+new)
"/>
<font serif="false" sizeM="2" size="12" style="0"/>
<caption val="转动"/>
</element>
<expression label="names" exp="{"红色", "蓝色", "粉色", "绿色", "紫色", "青色"}"/>
<element type="list" label="names">
<show object="false" label="true"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<command name="Sequence">
<input a0="(360 * sps(k))" a1="k" a2="1" a3="6"/>
<output a0="endAngles"/>
</command>
<element type="list" label="endAngles">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<expression label="resIndex" exp="CountIf[x < Mod[spinner, 360], endAngles] + 1" />
<element type="numeric" label="resIndex">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="resName" exp="names(resIndex)" />
<element type="text" label="resName">
<symbolic val="true" />
<show object="false" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="7.199999999999996" y="0.7799999999999967" z="1"/>
</element>
<command name="Textfield">
<input a0="resName"/>
<output a0="InputBox1"/>
</command>
<element type="textfield" label="InputBox1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="324" y="274"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<font serif="false" sizeM="2" size="12" style="0"/>
<length val="5"/>
<caption val="结果为"/>
</element>
<expression label="nums" exp="{6, 3, 2, 1, 2, 2}"/>
<element type="list" label="nums">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<element type="button" label="button3">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="327" y="213"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="nums={0,0,0,0,0,0}"/>
<font serif="false" sizeM="2" size="12" style="0"/>
<caption val="重置"/>
</element>
<element type="button" label="button4">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="433" y="212"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(nums, nums+new)"/>
<font serif="false" sizeM="2" size="12" style="0"/>
<caption val="累计"/>
</element>
<command name="Max">
<input a0="Sum[nums]" a1="1"/>
<output a0="snums"/>
</command>
<element type="numeric" label="snums">
<value val="16"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Sequence">
<input a0="nums(k) / snums" a1="k" a2="1" a3="6"/>
<output a0="freqs"/>
</command>
<element type="list" label="freqs">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<command name="BarChart">
<input a0="{1, 2, 3, 4, 5, 6}" a1="nums" a2="0.8"/>
<output a0="a"/>
</command>
<element type="numeric" label="a">
<value val="12.8"/>
<symbolic val="true" />
<show object="false" label="true" ev="3"/>
<objColor r="153" g="51" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<tags>
</tags>
</element>
<command name="Append">
<input a0=""颜色"" a1="names"/>
<output a0="tnames"/>
</command>
<element type="list" label="tnames">
<show object="false" label="true" ev="3"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Append">
<input a0=""次数"" a1="nums"/>
<output a0="tnums"/>
</command>
<element type="list" label="tnums">
<objColor r="0" g="100" b="0" alpha="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Append">
<input a0=""频率"" a1="freqs"/>
<output a0="tfreqs"/>
</command>
<element type="list" label="tfreqs">
<objColor r="0" g="100" b="0" alpha="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="TableText">
<input a0="tnames" a1="tnums" a2="tfreqs"/>
<output a0="text1"/>
</command>
<element type="text" label="text1">
<symbolic val="true" />
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<absoluteScreenLocation x="1" y="348"/>
</element>
<element type="numeric" label="yscale">
<value val="1.5"/>
<symbolic val="true" />
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="4" absoluteScreenLocation="true" width="200" x="69" y="295" fixed="false" horizontal="false" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
<ggbscript onUpdate="SetAxesRatio(1,yscale)"/>
</element>
<command name="Sequence">
<input a0="Circle[(1, k - 0.5), 0.5]" a1="k" a2="1" a3="nums(1)"/>
<output a0="C1s"/>
</command>
<element type="list" label="C1s">
<show object="true" label="true" ev="11"/>
<objColor r="255" g="0" b="0" alpha="0.6200000047683716"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Circle[(2, k - 0.5), 0.5]" a1="k" a2="1" a3="nums(2)"/>
<output a0="C2s"/>
</command>
<element type="list" label="C2s">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="255" alpha="0.6399999856948853"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Circle[(3, k - 0.5), 0.5]" a1="k" a2="1" a3="nums(3)"/>
<output a0="C3s"/>
</command>
<element type="list" label="C3s">
<show object="true" label="true" ev="11"/>
<objColor r="255" g="0" b="136" alpha="0.6299999952316284"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Circle[(4, k - 0.5), 0.5]" a1="k" a2="1" a3="nums(4)"/>
<output a0="C4s"/>
</command>
<element type="list" label="C4s">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="136" b="0" alpha="0.7200000286102295"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Circle[(5, k - 0.5), 0.5]" a1="k" a2="1" a3="nums(5)"/>
<output a0="C5s"/>
</command>
<element type="list" label="C5s">
<show object="true" label="true" ev="11"/>
<objColor r="136" g="0" b="255" alpha="0.699999988079071"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Circle[(6, k - 0.5), 0.5]" a1="k" a2="1" a3="nums(6)"/>
<output a0="C6s"/>
</command>
<element type="list" label="C6s">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="136" b="255" alpha="0.7799999713897705"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<expression label="spinIndex" exp="CountIf[x < end, endAngles] + 1" />
<element type="numeric" label="spinIndex">
<value val="5"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Sequence">
<input a0="If[k ≟ spinIndex, 1, 0]" a1="k" a2="1" a3="6"/>
<output a0="new"/>
</command>
<element type="list" label="new">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<element type="button" label="button5">
<show object="false" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="142" y="504"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetColor(C1s,"#FF0000")
SetColor(C2s,"#0000FF")
SetColor(C3s,"#FF0088")
SetColor(C4s,"#008800")
SetColor(C5s,"#8800FF")
SetColor(C6s,"#0088FF")
"/>
<font serif="false" sizeM="2" size="12" style="0"/>
<caption val="颜色"/>
</element>
</construction>
</geogebra>