Primary 4 Mixed Numbers Interactive Visual Demonstration
2017-08-23 02:04
This GeoGebra applet is designed for Primary 4 students to explore mixed numbers through a visual rectangle area model. It illustrates how whole number parts and proper fraction parts combine to form mixed numbers. Interactive buttons allow users to add or subtract rectangles, adjust denominator ranges, and observe dynamic numerical changes. Built with polygon and segment sequences, the constructi
In collections
P4 4N6 分數的種類及轉換 / Fraction Types and Their Conversions
Loading the GeoGebra board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.644.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="1230" height="1070" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.9691056910569106" 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="1230" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="383" 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="518" 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="1229" height="1017"/>
<coordSystem xZero="450.0000000000007" yZero="593.0000000000013" scale="32.9177474800246" yscale="32.917747480024644"/>
<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>
<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="3.5"/>
<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="-5.9"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-10" max="10" 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="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="DenomMin" max="DenomMax" width="8" x="8.281656539215668" y="15.379485718554449" 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="8" x="-5.821038399567248" y="15.467036931728133" 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="false"/>
<objColor r="208" g="240" b="192" 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="5"/>
<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="-39"/>
<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="15"/>
<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>
<element type="button" label="button2AddN">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="598" y="89"/>
<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="4.55681240312763" y="16.37414590190534" 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="535" y="89"/>
<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="2.6429511938140164" y="16.37414590190534" 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="22" y="20"/>
<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.315938301779008" y="16.628763168961257" 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"/>
<startPoint x="-5.801768793637261" y="16.71156274515673" 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"/>
<startPoint x="8.107303964194818" y="16.800405561196854" 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="260" y="152"/>
<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="-5.590020582694421" y="9.355057094168345" 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="-4.004975641549389" y="11.358717467860115" 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="-4.416000161152913" y="12.616735445422538" 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.03114802925054" y="14.190889659442027" 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="true" 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="48.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="-34.5"/>
<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="-72.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="10.5"/>
<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="48.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="-34.5"/>
<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="-72.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="10.5"/>
<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>
<element type="button" label="button4AddD">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="1079" y="95"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="Denom := Denom +1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="19.138612093136107" y="16.191873405780235" z="1"/>
<caption val="+"/>
</element>
<element type="button" label="button3MinusD">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="1011" y="94"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="Denom:= Denom-1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<dimensions width="48" height="59" />
<startPoint x="17.072857137051574" y="16.22225215513442" z="1"/>
<caption val="-"/>
</element>
<command name="If">
<input a0="ShowChi" a1=""改變圖形的多少"" a2=""Adjusting the size of the figure""/>
<output a0="Text22"/>
</command>
<element type="text" label="Text22">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="0" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<startPoint x="-6.440294863087078" y="0.8202262325629752" 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="Text32"/>
</command>
<element type="text" label="Text32">
<show object="true" label="true"/>
<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"/>
<startPoint x="7.533929839837714" y="0.7290899845004224" z="1"/>
</element>
<element type="numeric" label="n2">
<value val="13"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelOffset x="-67" y="44"/>
<labelMode val="1"/>
<slider min="1" max="(6 * Denom2)" width="8" x="-6.531431111149649" y="-0.45568124031274415" fixed="true" 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="Denom2">
<value val="5"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="DenomMin" max="DenomMax" width="8" x="7.594687338546061" y="-0.48605998966692754" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="button" label="button1MinusN2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="521" y="616"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="n2 := n2-1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<dimensions width="48" height="59" />
<startPoint x="2.2176487028554357" y="0.3645449922502319" z="1"/>
<caption val="-"/>
</element>
<element type="button" label="button2AddN2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="588" y="617"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="n2 := n2+1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="4.253024909585786" y="0.3341662428960476" z="1"/>
<caption val="+"/>
</element>
<element type="button" label="button3MinusD2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="994" y="620"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="Denom2 := Denom2 -1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<dimensions width="48" height="59" />
<startPoint x="16.586797147384626" y="0.24302999483349486" z="1"/>
<caption val="-"/>
</element>
<element type="button" label="button4AddD2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="1062" y="621"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="Denom2 := Denom2+1"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="18.652552103469162" y="0.21265124547931058" z="1"/>
<caption val="+"/>
</element>
<element type="boolean" label="ShowNum2">
<value val="false"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="235" y="662"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<command name="If">
<input a0="ShowChi" a1=""顯示下圖代表的數值 (帶分數形式,未約簡)"" a2=""Show the value represented by the following figure (in mixed numbers, not simplified)""/>
<output a0="Text42"/>
</command>
<element type="text" label="Text42">
<show object="true" label="true"/>
<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="-5.0428723927945995" y="-3.0074961860642424" z="1"/>
</element>
<element type="numeric" label="BaseX2">
<value val="-5.9"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-10" 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="BaseY2">
<value val="-12"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-15" 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>
<command name="Mod">
<input a0="n2" a1="Denom2"/>
<output a0="FracNum2"/>
</command>
<element type="numeric" label="FracNum2">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="RectNum2" exp="ceil(n2 / Denom2)" />
<element type="numeric" label="RectNum2">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="Whole2" exp="floor(n2 / Denom2)" />
<element type="numeric" label="Whole2">
<value val="2"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="TextAns12" exp=""" + Whole2 + """ />
<element type="text" label="TextAns12">
<show object="true" label="true" ev="40"/>
<condition showObject="Whole2 ≠ 0 ∧ ShowNum2"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="208" g="240" b="192" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="4" size="54" style="0"/>
<startPoint x="-6.349158615024546" y="-6.622567359212148" z="1"/>
</element>
<expression label="A" exp="(-7.6, 2.25)" type="point"/>
<element type="point" label="A">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-7.6" y="2.25" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<expression label="B" exp="(22.5, 2.25)" type="point"/>
<element type="point" label="B">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="22.5" y="2.25" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="B"/>
<output a0="SegSeperation"/>
</command>
<element type="segment" label="SegSeperation">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="0" y="30.1" z="-67.725"/>
<lineStyle thickness="2" type="15" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="TextAns22" exp=""\frac{" + (LaTeX[FracNum2]) + "}{" + (LaTeX[Denom2]) + "}"" />
<element type="text" label="TextAns22">
<show object="true" label="false" ev="40"/>
<condition showObject="FracNum2 ≠ 0 ∧ ShowNum2"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="208" g="240" b="192" 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="-4.739084899252777" y="-4.708706149898525" z="1"/>
</element>
<command name="Sequence">
<input a0="Polygon[(BaseX2 + (s * j), BaseY2 + 0), (BaseX2 + (s * j), BaseY2 + h), (BaseX2 + (s * j) + width, BaseY2 + h), (BaseX2 + (s * j) + width, BaseY2 + 0)]" a1="j" a2="1" a3="RectNum2 - 1"/>
<output a0="NumPartWhole2"/>
</command>
<element type="list" label="NumPartWhole2">
<show object="true" label="true"/>
<objColor r="0" g="100" b="0" alpha="0.15"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[(BaseX2 + (s * RectNum2), BaseY2 + (h / Denom2 * l)), (BaseX2 + (s * RectNum2) + width, BaseY2 + (h / Denom2 * l))]" a1="l" a2="1" a3="Denom2 - 1"/>
<output a0="LastBoxSegments2"/>
</command>
<element type="list" label="LastBoxSegments2">
<show object="true" label="true" ev="4"/>
<condition showObject="Mod[n2, Denom2] ≠ 0"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Polygon[(BaseX2 + (s * RectNum2), BaseY2 + (h / Denom2 * (l - 1))), (BaseX2 + (s * RectNum2), BaseY2 + (h / Denom2 * l)), (BaseX2 + (s * RectNum2) + width, BaseY2 + (h / Denom2 * l)), (BaseX2 + (s * RectNum2) + width, BaseY2 + (h / Denom2 * (l - 1)))]" a1="l" a2="1" a3="Mod[n2, Denom2]"/>
<output a0="NumPartFraction2"/>
</command>
<element type="list" label="NumPartFraction2">
<show object="true" label="true"/>
<objColor r="0" g="100" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Polygon">
<input a0="(BaseX2 + (s * RectNum2), BaseY2 + 0)" a1="(BaseX2 + (s * RectNum2), BaseY2 + h)" a2="(BaseX2 + (s * RectNum2) + width, BaseY2 + h)" a3="(BaseX2 + (s * RectNum2) + width, BaseY2 + 0)"/>
<output a0="LastWNum2" a1="f" a2="g" a3="i" a4="j"/>
</command>
<element type="polygon" label="LastWNum2">
<lineStyle thickness="2" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<condition showObject="Mod[n2, Denom2] ≟ 0"/>
<objColor r="0" g="100" b="0" alpha="0.14"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-8" y="0" z="48.79999999999999"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="g">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="3" z="12"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="i">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="8" y="0" z="-72.79999999999998"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="j">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="-3" z="-36"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
</construction>
</geogebra>