Interactive Fraction Addition and Simplification
2020-10-09 13:36
This GeoGebra applet dynamically demonstrates fraction addition and simplification. It randomly generates two fractions and uses algorithms like GCD, modulo, and integer division to automatically calculate common denominators, addition, and reduction. Featuring interactive buttons and text feedback, it visually displays the step-by-step calculation, making it an excellent tool for teaching basic a
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.596.0" app="classic" platform="d" id="4a8be1fa-52a4-450f-8650-4580bca84d94" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="822" height="690" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.3199513381995134" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="1383,232,1159,888" />
<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="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="true" location="1,1" size="432" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="789" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="263" window="100,100,600,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="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" 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="true" cmd="true" top="algebra" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="18"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="789" height="470"/>
<coordSystem xZero="353.28779602113923" yZero="1295.2833385875215" scale="72.8919571481048" yscale="72.8919571481048"/>
<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="11" grid="0"/>
<labelStyle axes="1" serif="true"/>
<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.0" max="2.0" step="1.0"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="n">
<value val="19.0"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.5"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="10" max="50" absoluteScreenLocation="true" width="200.0" x="194.0" y="80.0" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript onUpdate=""/>
<caption val="$\mathit\scalebox{1.5}{%v}$"/>
</element>
<command name="Random">
<input a0="1" a1="n"/>
<output a0="b_1"/>
</command>
<element type="numeric" label="b_1">
<value val="18.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="Random">
<input a0="1" a1="n"/>
<output a0="a_1"/>
</command>
<element type="numeric" label="a_1">
<value val="17.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="Random">
<input a0="1" a1="n"/>
<output a0="b"/>
</command>
<element type="numeric" label="b">
<value val="10.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="Random">
<input a0="1" a1="n"/>
<output a0="a"/>
</command>
<element type="numeric" label="a">
<value val="12.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<expression label="v" exp="a / b" />
<element type="numeric" label="v">
<value val="1.2"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="48" y="194"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(a,Random(1,n))
If(same, SetValue(b,b_1), SetValue(b,Random(1,n)))"/>
<font serif="false" sizeM="2.0" size="18" style="1"/>
<dimensions width="120" height="55" />
<caption val="$\large{分数1}$"/>
</element>
<expression label="frac1" exp=""\frac{" + (LaTeX[a]) + "}{" + (LaTeX[b]) + "}"" />
<element type="text" label="frac1">
<show object="true" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="0"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="83" y="257"/>
</element>
<element type="button" label="button2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="195" y="195"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(a_1,Random(1,n))
If(same, SetValue(b_1,b), SetValue(b_1,Random(1,n)))"/>
<font serif="false" sizeM="2.0" size="18" style="1"/>
<dimensions width="120" height="55" />
<caption val="$\large{分数2}$"/>
</element>
<expression label="text1" exp=""\frac{" + (LaTeX[a_1]) + "}{" + (LaTeX[b_1]) + "}"" />
<element type="text" label="text1">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="0"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="225" y="254"/>
</element>
<expression label="tadd" exp=""+""/>
<element type="text" label="tadd">
<show object="true" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="153" y="277"/>
</element>
<expression label="c" exp="(a * b_1) + (b * a_1)" />
<element type="numeric" label="c">
<value val="386.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<expression label="tequ" exp=""=""/>
<element type="text" label="tequ">
<show object="true" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="313" y="273"/>
</element>
<expression label="d" exp="(b * b_1)" />
<element type="numeric" label="d">
<value val="180.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="GCD">
<input a0="c" a1="d"/>
<output a0="g"/>
</command>
<element type="numeric" label="g">
<value val="2.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<expression label="cc" exp="c / g" />
<element type="numeric" label="cc">
<value val="193.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<expression label="dd" exp="d / g" />
<element type="numeric" label="dd">
<value val="90.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<expression label="tres" exp=""\frac{" + (LaTeX[cc]) + "}{" + (LaTeX[dd]) + "}"" />
<element type="text" label="tres">
<show object="false" label="true" ev="40"/>
<condition showObject="ans"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<bgColor r="208" g="240" b="192" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="387" y="251"/>
</element>
<element type="boolean" label="tf">
<value val="true"/>
<show object="false" label="true"/>
<condition showObject="cc ≥ dd"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="66" y="381"/>
<labelMode val="3"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="$\Large{最简分数}$"/>
</element>
<command name="Mod">
<input a0="cc" a1="dd"/>
<output a0="yushu"/>
</command>
<element type="numeric" label="yushu">
<value val="13.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="Div">
<input a0="cc" a1="dd"/>
<output a0="shang"/>
</command>
<element type="numeric" label="shang">
<value val="2.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<element type="boolean" label="same">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="93" y="112"/>
<labelMode val="3"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="$\Large{同分母}$"/>
</element>
<expression label="text3" exp=""小学五年级分数加法随机练习题
(1)可以设置随机数的最大值
(2)可以选择同分母的分数加法运算
(3)可以进行不同分母的分数加法运算
(4)可以选择显示还是不显示答案
(5)结果要化成最简分数
(6)结果是假分数,要化成带分数
(7)结果是整数,显示为整数""/>
<element type="text" label="text3">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<bgColor r="175" g="238" b="238" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.0" size="0" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="428" y="39"/>
</element>
<element type="boolean" label="ans">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="247" y="112"/>
<labelMode val="3"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="$\Large{显示答案}$"/>
</element>
<expression label="text4" exp=""配
置""/>
<element type="text" label="text4">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<bgColor r="175" g="238" b="238" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="29" y="77"/>
</element>
<expression label="tsimple" exp=""" + (LaTeX[shang]) + "\frac{" + (LaTeX[yushu]) + "}{" + (LaTeX[dd]) + "}"" />
<element type="text" label="tsimple">
<show object="true" label="true" ev="8"/>
<condition showObject="ans ∧ yushu ≠ 0 ∧ tf ∧ cc > dd"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<bgColor r="224" g="176" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="380" y="356"/>
</element>
<expression label="tequ_1" exp=""=""/>
<element type="text" label="tequ_1">
<show object="true" label="true" ev="40"/>
<condition showObject="tf ∧ ans ∧ cc ≥ dd"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="313" y="378"/>
</element>
<expression label="text2" exp=""" + (LaTeX[shang]) + """ />
<element type="text" label="text2">
<show object="true" label="false" ev="8"/>
<condition showObject="tf ∧ yushu ≟ 0"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<bgColor r="208" g="240" b="192" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="380" y="373"/>
</element>
<expression label="tmax" exp=""最大值\\Max""/>
<element type="text" label="tmax">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<bgColor r="188" g="212" b="230" alpha="255"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.0" size="0" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="95" y="41"/>
</element>
</construction>
</geogebra>