小学四年级带分数互动可视化工具
2021-06-27 06:41
本GeoGebra范例专为小学四年级学生设计,用于互动学习带分数(Mixed Numbers)的概念。通过矩形方块可视化模型,学生可以直观理解整数部分与真分数部分的组合关系。工具提供分母输入框及增减按钮,支持动态调整分母数值大小,实时观察分数方块分割变化。包含中文显示切换、答案验证文本等功能,帮助学生掌握带分数的构成、读写与基本运算,是分数启蒙教学的实用互动课件。
GeoGebra 画板及绘图内容加载中,请稍等……
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.648.0" app="classic" platform="w" id="58130d05-0f81-4dd1-8730-9abb55820ca4" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1310" height="730" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.07633587786259542" 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 | 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="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="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="1" visible="true" inframe="false" stylebar="false" location="1" size="1310" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="380" tab="ALGEBRA" window="100,100,250,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" 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="true" 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="4097" visible="false" inframe="false" stylebar="true" location="1" size="670" window="571,329,700,550" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 | 62 | 17 | 73 | 6" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="18"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1309" height="677"/>
<coordSystem xZero="459.0000000000004" yZero="628.0000000000007" scale="32.917747480024595" yscale="32.917747480024666"/>
<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="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<uses3D val="true"/>
<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="分數的種類1 / Fraction Type 1" author="" date="">
<element type="numeric" label="BaseY">
<value val="0"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="BaseX">
<value val="-3.4"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="Denom">
<value val="5"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="DenomMin" max="DenomMax" width="4" x="7.613324053423613" y="14.103578245678708" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="Denominator"/>
</element>
<element type="numeric" label="n">
<value val="13"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="1" max="(6 * Denom)" width="15" x="-5.729902151504693" y="16.07461191881182" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="Numerator"/>
</element>
<expression label="RectNum" exp="ceil(n / Denom)" />
<element type="numeric" label="RectNum">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<caption val="Whole_num+1"/>
</element>
<element type="numeric" label="s">
<value val="4"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="10" width="4" x="16.393961022659248" y="9.021643191374322" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="spacing"/>
</element>
<element type="numeric" label="width">
<value val="3"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="5" width="4" x="16.113487776393356" y="11.157374207466473" 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="h">
<value val="8"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="10" width="4" x="16.04868999747305" y="14.121405521843764" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="height"/>
</element>
<element type="numeric" label="dis2">
<value val="0"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" x="30" y="90" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="dis1">
<value val="-32"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-50" max="20" absoluteScreenLocation="true" width="200" x="30" y="90" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<command name="Polygon">
<input a0="((5 * s) + dis1, dis2)" a1="((5 * s) + dis1, h + dis2)" a2="((5 * s) + width + dis1, h + dis2)" a3="((5 * s) + width + dis1, dis2)"/>
<output a0="Ref" a1="RefSide1" a2="RefSide2" a3="RefSide3" a4="RefSide4"/>
</command>
<element type="polygon" label="Ref">
<lineStyle thickness="5" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<caption val="Reference"/>
</element>
<element type="segment" label="RefSide1">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-8" y="0" z="-96"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="RefSide2">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="3" z="-24"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="RefSide3">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="8" y="0" z="72"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="RefSide4">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="-3" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Sequence">
<input a0="Polygon[(BaseX + (s * j), BaseY + 0), (BaseX + (s * j), BaseY + h), (BaseX + (s * j) + width, BaseY + h), (BaseX + (s * j) + width, BaseY + 0)]" a1="j" a2="1" a3="RectNum - 1"/>
<output a0="NumPartWhole"/>
</command>
<element type="list" label="NumPartWhole">
<show object="true" label="true" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0.1"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Textfield">
<input a0="Denom"/>
<output a0="InputBoxDenominator"/>
</command>
<element type="textfield" label="InputBoxDenominator">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="800" y="165"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<font serif="false" sizeM="2" size="18" style="0"/>
<startPoint x="11.770195028360172" y="14.055739921965598" z="1"/>
<length val="2"/>
<caption val="Denominator"/>
</element>
<element type="button" label="button2AddN">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="821" y="83"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="n:=n+1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="12.512468352013629" y="16.954140519088615" z="1"/>
<caption val="+"/>
</element>
<element type="button" label="button1MinusN">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="753" y="82"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="n:=n-1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="10.108916637326246" y="16.989486867834017" z="1"/>
<caption val="−"/>
</element>
<element type="boolean" label="ShowChi">
<value val="true"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="28" y="27"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="TextShowChi" exp=""中 / Eng""/>
<element type="text" label="TextShowChi">
<show object="true" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="191" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.4" size="8" style="0"/>
<startPoint x="-11.346317051133193" y="17.448989401524234" z="1"/>
</element>
<element type="numeric" label="DenomMin">
<value val="2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="DenomMax">
<value val="10"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="20" absoluteScreenLocation="true" width="200" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<command name="If">
<input a0="ShowChi" a1=""改變圖形的多少"" a2=""Adjusting the size of the figure""/>
<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"/>
<bgColor r="153" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.4" size="8" style="0"/>
<startPoint x="-5.832147542991444" y="17.531788977719703" z="1"/>
</element>
<command name="If">
<input a0="ShowChi" a1=""一個長方形分割成的份數 (由2至10)"" a2=""Number of parts in a rectangle (from 2 to 10)""/>
<output a0="Text3"/>
</command>
<element type="text" label="Text3">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="153" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.4" size="8" style="0"/>
<startPoint x="-6.079571984209264" y="12.760031897090348" z="1"/>
</element>
<element type="boolean" label="ShowNum">
<value val="false"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="366" y="288"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="Whole" exp="floor(n / Denom)" />
<element type="numeric" label="Whole">
<value val="2"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="TextAns1" exp=""" + Whole + """ />
<element type="text" label="TextAns1">
<show object="true" label="true" ev="40"/>
<condition showObject="Whole ≠ 0 ∧ ShowNum"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="191" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="-3.4938868772557012" y="5.800743419728787" z="1"/>
</element>
<command name="Mod">
<input a0="n" a1="Denom"/>
<output a0="FracNum"/>
</command>
<element type="numeric" label="FracNum">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="TextAns2" exp=""\frac{" + (LaTeX[FracNum]) + "}{" + (LaTeX[Denom]) + "}"" />
<element type="text" label="TextAns2">
<show object="true" label="false" ev="8"/>
<condition showObject="FracNum ≠ 0 ∧ ShowNum"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="191" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="18" style="0"/>
<startPoint x="-1.9088419361106697" y="7.8347825427747395" z="1"/>
</element>
<command name="If">
<input a0="ShowChi" a1=""顯示下圖代表的數值 (帶分數形式,未約簡)"" a2=""Show the value represented by the following figure (in mixed numbers, not simplified)""/>
<output a0="Text4"/>
</command>
<element type="text" label="Text4">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<startPoint x="-1.2262314789635578" y="9.63961800871248" z="1"/>
</element>
<command name="If">
<input a0="ShowChi" a1=""下圖的長方形代表數值1"" a2=""This rectangle represents the value 1""/>
<output a0="Text1"/>
</command>
<element type="text" label="Text1">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="215" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<startPoint x="-13.031148029250538" y="9.725213504376939" z="1"/>
</element>
<command name="Segment">
<input a0="(BaseX + (s * RectNum), BaseY + 0)" a1="(BaseX + (s * RectNum), BaseY + h)"/>
<output a0="LastBoxSide1"/>
</command>
<element type="segment" label="LastBoxSide1">
<show object="false" label="false" ev="4"/>
<condition showObject="Mod[n, Denom] ≠ 0"/>
<objColor r="128" g="0" b="128" alpha="0.1"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="-8" y="0" z="68.8"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="Side1_last_rec"/>
</element>
<command name="Segment">
<input a0="(BaseX + (s * RectNum), BaseY + h)" a1="(BaseX + (s * RectNum) + width, BaseY + h)"/>
<output a0="LastBoxSide2"/>
</command>
<element type="segment" label="LastBoxSide2">
<show object="true" label="false" ev="4"/>
<condition showObject="Mod[n, Denom] ≠ 0"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="0" y="3" z="-24"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="Side2_last_rec"/>
</element>
<command name="Segment">
<input a0="(BaseX + (s * RectNum) + width, BaseY + h)" a1="(BaseX + (s * RectNum) + width, BaseY + 0)"/>
<output a0="LastBoxSide3"/>
</command>
<element type="segment" label="LastBoxSide3">
<show object="true" label="false" ev="4"/>
<condition showObject="Mod[n, Denom] ≠ 0"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="8" y="0" z="-92.8"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="Side3_last_rec"/>
</element>
<command name="Segment">
<input a0="(BaseX + (s * RectNum) + width, BaseY + 0)" a1="(BaseX + (s * RectNum), BaseY + 0)"/>
<output a0="LastBoxSide4"/>
</command>
<element type="segment" label="LastBoxSide4">
<show object="true" label="false" ev="4"/>
<condition showObject="Mod[n, Denom] ≠ 0"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="0" y="-3" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="Side4_last_rec"/>
</element>
<command name="Sequence">
<input a0="Segment[(BaseX + (s * RectNum), BaseY + (h / Denom * l)), (BaseX + (s * RectNum) + width, BaseY + (h / Denom * l))]" a1="l" a2="1" a3="Denom - 1"/>
<output a0="LastBoxSegments"/>
</command>
<element type="list" label="LastBoxSegments">
<show object="false" label="true" ev="4"/>
<condition showObject="Mod[n, Denom] ≠ 0"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Polygon">
<input a0="(BaseX + (s * RectNum), BaseY + 0)" a1="(BaseX + (s * RectNum), BaseY + h)" a2="(BaseX + (s * RectNum) + width, BaseY + h)" a3="(BaseX + (s * RectNum) + width, BaseY + 0)"/>
<output a0="LastWNum" a1="k" a2="l" a3="m" a4="p"/>
</command>
<element type="polygon" label="LastWNum">
<lineStyle thickness="5" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<condition showObject="Mod[n, Denom] ≟ 0"/>
<objColor r="128" g="0" b="128" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="k">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-8" y="0" z="68.8"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="l">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="3" z="-24"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="m">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="8" y="0" z="-92.8"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="p">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="-3" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Sequence">
<input a0="Polygon[(BaseX + (s * RectNum), BaseY + (h / Denom * (l - 1))), (BaseX + (s * RectNum), BaseY + (h / Denom * l)), (BaseX + (s * RectNum) + width, BaseY + (h / Denom * l)), (BaseX + (s * RectNum) + width, BaseY + (h / Denom * (l - 1)))]" a1="l" a2="1" a3="Mod[n, Denom]"/>
<output a0="NumPartFraction"/>
</command>
<element type="list" label="NumPartFraction">
<show object="true" label="true" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0.1"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
</construction>
</geogebra>