Interactive Fraction Subtraction Practice
2020-10-09 13:34
This GeoGebra example demonstrates the process of fraction subtraction. It uses the Random command to generate random fraction subtraction problems and the GCD (Greatest Common Divisor) command to simplify results. The interface includes interactive buttons (button1, button2) that walk through subtraction steps including finding common denominators, subtracting numerators, computing remainders (yu
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.608.0" app="classic" platform="d" id="12798c1e-d761-4bbf-91eb-49f7e6c35df6" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="828" height="741" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.3176328502415459" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="1382,456,1159,706" />
<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="795" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="263" tab="ALGEBRA" 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="795" height="521"/>
<coordSystem xZero="472.82147015603095" yZero="711.7355293812009" scale="45.940595657548144" yscale="45.94059565754828"/>
<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="21.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="170.0" x="214.0" y="83.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"/>
<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="13.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="15.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="20.0"/>
<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="85" y="171"/>
<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"/>
<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="254" y="172"/>
<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"/>
<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="110.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>
<command name="If">
<input a0="c ≟ 0" a1="b" a2="(b * b_1)"/>
<output a0="d"/>
</command>
<element type="numeric" label="d">
<value val="130.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="10.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="11.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="If">
<input a0="c ≟ 0" a1="d" a2="d / g"/>
<output a0="dd"/>
</command>
<element type="numeric" label="dd">
<value val="13.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="true" 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"/>
<ggbscript val="If(abs(cc)>=dd||cc==0, SetValue(tf,true), SetValue(tf,false))"/>
</element>
<element type="boolean" label="tf">
<value val="true"/>
<show object="true" label="true"/>
<condition showObject="abs(cc) ≥ dd ∧ ans ∨ ans ∧ cc ≟ 0"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="79" y="414"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="$\Large{最简分数}$"/>
</element>
<command name="If">
<input a0="cc < 0" a1="Mod[(-cc), dd]" a2="Mod[cc, dd]"/>
<output a0="yushu"/>
</command>
<element type="numeric" label="yushu">
<value val="11.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<command name="If">
<input a0="cc < 0" a1="(-Div[(-cc), dd])" a2="Div[cc, dd]"/>
<output a0="shang"/>
</command>
<element type="numeric" label="shang">
<value val="0.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<caption val="$\mathit\scalebox{1.5}{%n}$"/>
</element>
<expression label="tsimple" exp=""=" + (LaTeX[shang]) + "\frac{" + (LaTeX[yushu]) + "}{" + (LaTeX[dd]) + "}"" />
<element type="text" label="tsimple">
<show object="true" label="true" ev="40"/>
<condition showObject="ans ∧ tf ∧ yushu ≠ 0 ∧ shang ≠ 0"/>
<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="310" y="385"/>
</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="91" y="117"/>
<labelMode val="3"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="$\Large{同分母}$"/>
</element>
<expression label="text2" exp=""=" + (LaTeX[shang]) + """ />
<element type="text" label="text2">
<show object="true" label="false" ev="40"/>
<condition showObject="ans ∧ 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="315" y="409"/>
</element>
<expression label="tnotes" exp=""小学五年级分数减法随机练习题
(1)可以设置随机数的最大值
(2)可以选择同分母的分数减法运算
(3)可以进行不同分母的分数减法运算
(4)可以选择是否显示答案
(5)结果化成最简分数
(6)结果是假分数,要化成带分数
(6)结果是整数,显示也是整数""/>
<element type="text" label="tnotes">
<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="410" y="37"/>
</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="242" y="113"/>
<labelMode val="3"/>
<auxiliary val="true"/>
<checkbox fixed="true"/>
<caption val="$\Large{显示答案}$"/>
</element>
<expression label="tconfig" exp=""配
置""/>
<element type="text" label="tconfig">
<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="true" sizeM="2.0" size="18" style="1"/>
<auxiliary val="true"/>
<absoluteScreenLocation x="30" y="75"/>
</element>
<expression label="tmax" exp=""最大值\\
Max""/>
<element type="text" label="tmax">
<show object="true" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<bgColor r="175" g="238" b="238" 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="91" y="35"/>
</element>
</construction>
</geogebra>