Exploring the Area of an Oblique Parallelogram
2011-10-06 13:32
This GeoGebra example explores the area calculation of an oblique parallelogram using dynamic geometry. Through transformations such as translation, rotation, and vector operations, it demonstrates that the area of a parallelogram equals base times height, even when the shape is slanted. Suitable for middle and high school students to understand the geometric reasoning behind the parallelogram are
In collections
Grade 4 Math: Area Part 1 (Teacher's Edition)
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.609.0" app="classic" platform="w" id="9cb83326-dd6e-4c7b-b9e5-a2583f7024a6" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="900" height="491" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.30444444444444446" orientation="1" />
</panes>
<views>
<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="1" visible="true" inframe="false" stylebar="true" location="1" size="898" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="274" tab="ALGEBRA" window="1705,324,351,661" />
<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" size="150" window="50,50,500,500" />
<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="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="4097" visible="false" inframe="false" stylebar="true" location="1" size="150" window="864,327,671,637" />
<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="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 , 538 | 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" size="300" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 39 59 || 40 | 41 | 42" position="1" help="false" />
<input show="false" cmd="true" top="false" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="18"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="897" height="436"/>
<coordSystem xZero="620.8305529178256" yZero="280.86295242450313" scale="45.699114381198534" yscale="45.69911438119853"/>
<evSettings axes="false" grid="true" gridIsBold="false" pointCapturing="1" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="128" g="128" b="128"/>
<lineStyle axes="1" grid="10"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<grid distX="1" distY="1" distTheta="0.5235987755982988"/>
</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="" author="" date="">
<element type="numeric" label="t">
<value val="0"/>
<show object="true" label="false"/>
<condition showObject="l"/>
<objColor r="0" g="0" b="255" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="0" max="n'" absoluteScreenLocation="true" width="200" x="667" y="327" fixed="true" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.01" speed="1" type="0" playing="false"/>
</element>
<command name="Point">
<input a0="xAxis"/>
<output a0="I"/>
</command>
<element type="point" label="I">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="1" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="Ray[(x(I), 0), (x(I), 1)]"/>
<output a0="J"/>
</command>
<element type="point" label="J">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="255" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="1" y="4" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Ray">
<input a0="(-0.01, y(J))" a1="(-1, y(J))"/>
<output a0="k"/>
</command>
<element type="ray" label="k">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="-0.99" z="3.96"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Point">
<input a0="xAxis"/>
<output a0="C"/>
</command>
<element type="point" label="C">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="255" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="-3" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<expression label="base" exp="abs(x(C))" />
<element type="numeric" label="base">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Point">
<input a0="k"/>
<output a0="A"/>
</command>
<element type="point" label="A">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<ggbscript onUpdate="SetValue[t, 0]"/>
<coords x="-3.9999999999999996" y="4" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Translate">
<input a0="A" a1="Vector[C]"/>
<output a0="D"/>
</command>
<element type="point" label="D">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-7" y="4" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="If">
<input a0="floor(abs(x(D)) / base) ≟ abs(x(D)) / base" a1="false" a2="true"/>
<output a0="more"/>
</command>
<element type="boolean" label="more">
<value val="true"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="n" exp="floor(abs(x(D)) / base) - 1" />
<element type="numeric" label="n">
<value val="1"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="If">
<input a0="more" a1="n + 1" a2="n"/>
<output a0="n'"/>
</command>
<element type="numeric" label="n'">
<value val="2"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Intersect">
<input a0="xAxis" a1="yAxis"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="false" label="true"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="0" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="B"/>
<output a0="a"/>
</command>
<element type="segment" label="a">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="25" y="-11"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_a, !show_a]
ShowLabel[a, show_a]"/>
<coords x="4" y="3.9999999999999996" z="0"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Segment">
<input a0="B" a1="C"/>
<output a0="b"/>
</command>
<element type="segment" label="b">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="5" y="40"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_b, !show_b]
ShowLabel[b, show_b]"/>
<coords x="0" y="-3" z="0"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Segment">
<input a0="C" a1="D"/>
<output a0="c"/>
</command>
<element type="segment" label="c">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-73" y="32"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_c, !show_c]
ShowLabel[c, show_c]"/>
<coords x="-4" y="-4" z="-12"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Segment">
<input a0="D" a1="A"/>
<output a0="d"/>
</command>
<element type="segment" label="d">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-7" y="-26"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_d, !show_d]
ShowLabel[d, show_d]"/>
<coords x="0" y="3.0000000000000004" z="-12.000000000000002"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Slope">
<input a0="a"/>
<output a0="m"/>
</command>
<element type="numeric" label="m">
<value val="-1.0000000000000002"/>
<show object="false" label="false"/>
<objColor r="153" g="51" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Sequence">
<input a0="(((i + 1) * x(C)), ((m * x(C)) * i))" a1="i" a2="0" a3="n"/>
<output a0="list1"/>
</command>
<element type="list" label="list1">
<show object="false" label="false"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Point">
<input a0="Ray[(0, 0), (1, 0)]"/>
<output a0="E"/>
</command>
<element type="point" label="E">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="5" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<expression label="F" exp="(x(E) + x(C), 0)" type="point" />
<element type="point" label="F">
<show object="false" label="true"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="2" y="0" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="G" exp="(x(F), y(A))" type="point" />
<element type="point" label="G">
<show object="false" label="true"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="2" y="4" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="H" exp="(x(E), y(A))" type="point" />
<element type="point" label="H">
<show object="false" label="true"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="5" y="4" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="E" a1="F"/>
<output a0="e"/>
</command>
<element type="segment" label="e">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-14" y="36"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_e, !show_e]
ShowLabel[e, show_e]"/>
<coords x="0" y="-3" z="0"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Segment">
<input a0="F" a1="G"/>
<output a0="f"/>
</command>
<element type="segment" label="f">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-58" y="8"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_f, !show_f]
ShowLabel[f, show_f]"/>
<coords x="-4" y="0" z="8"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Segment">
<input a0="G" a1="H"/>
<output a0="g"/>
</command>
<element type="segment" label="g">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-16" y="-23"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_g, !show_g]
ShowLabel[g, show_g]"/>
<coords x="0" y="3" z="-12"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Segment">
<input a0="H" a1="E"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="21" y="7"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_h, !show_h]
ShowLabel[h, show_h]"/>
<coords x="4" y="0" z="-20"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
<command name="Sequence">
<input a0="((i * x(C)), ((m * x(C)) * i))" a1="i" a2="0" a3="n"/>
<output a0="list2"/>
</command>
<element type="list" label="list2">
<show object="false" label="false"/>
<objColor r="0" g="255" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Polygon[Element[list2, i], Element[list1, i], Element[list2, i + 1]]" a1="i" a2="1" a3="n"/>
<output a0="list3"/>
</command>
<element type="list" label="list3">
<show object="false" label="false"/>
<objColor r="0" g="255" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="If[t < i, 0, If[t < i + 1, t - i, 1]]" a1="i" a2="0" a3="n' - 1"/>
<output a0="list_t"/>
</command>
<element type="list" label="list_t">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Polygon[Element[list1, i], Element[list2, i + 1], Element[list1, i + 1]]" a1="i" a2="1" a3="n"/>
<output a0="list4"/>
</command>
<element type="list" label="list4">
<show object="false" label="false"/>
<objColor r="255" g="255" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Translate[Element[list3, i], Vector[(0, 0), (((2 * Min[Element[list_t, i], 0.5]) * (x(E) - ((i - 1) * x(C)))), 0)]]" a1="i" a2="1" a3="n"/>
<output a0="list5"/>
</command>
<element type="list" label="list5">
<show object="true" label="true"/>
<condition showObject="l"/>
<objColor r="0" g="255" b="0" alpha="1"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Translate[Translate[Element[list4, i], Vector[(0, 0), (((2 * Min[Element[list_t, i], 0.5]) * (x(E) - ((i - 1) * x(C)))), 0)]], Vector[(0, 0), (((2 * Max[Element[list_t, i] - 0.5, 0]) * base), 0)]]" a1="i" a2="1" a3="n"/>
<output a0="list6"/>
</command>
<element type="list" label="list6">
<show object="true" label="false"/>
<condition showObject="l"/>
<objColor r="255" g="255" b="0" alpha="1"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="If">
<input a0="more" a1="Polygon[A, ((n' * x(C)), y(A)), Element[list1, n'], Element[list2, n']]"/>
<output a0="last1"/>
</command>
<element type="polygon" label="last1">
<lineStyle thickness="0" type="0" typeHidden="1"/>
<show object="false" label="false"/>
<objColor r="0" g="255" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<command name="If">
<input a0="more" a1="Polygon[D, ((n' * x(C)), y(A)), Element[list1, n']]"/>
<output a0="last2"/>
</command>
<element type="polygon" label="last2">
<lineStyle thickness="0" type="0" typeHidden="1"/>
<show object="false" label="false"/>
<objColor r="255" g="255" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<command name="If">
<input a0="more" a1="Translate[last1, Vector[(((2 * Min[Element[list_t, n'], 0.5]) * ((n * base) + x(E))), 0)]]"/>
<output a0="last1'"/>
</command>
<element type="polygon" label="last1'">
<lineStyle thickness="0" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<condition showObject="l"/>
<objColor r="0" g="255" b="0" alpha="1"/>
<layer val="1"/>
<labelMode val="0"/>
</element>
<command name="If">
<input a0="more" a1="Translate[Translate[last2, Vector[(((2 * Min[Element[list_t, n'], 0.5]) * ((n * base) + x(E))), 0)]], Vector[(((2 * Max[Element[list_t, n'] - 0.5, 0]) * base), 0)]]"/>
<output a0="last2'"/>
</command>
<element type="polygon" label="last2'">
<lineStyle thickness="0" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<condition showObject="l"/>
<objColor r="255" g="255" b="0" alpha="1"/>
<layer val="1"/>
<labelMode val="0"/>
</element>
<command name="Segment">
<input a0="J" a1="A"/>
<output a0="i"/>
</command>
<element type="segment" label="i">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="0" y="-5" z="20"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="I" a1="B"/>
<output a0="j"/>
</command>
<element type="segment" label="j">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="0" y="-1" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Rotate">
<input a0="J" a1="90°" a2="I"/>
<output a0="J'"/>
</command>
<element type="point" label="J'">
<show object="false" label="true"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-3" y="0" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="I" a1="J"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="false" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<coords x="0" y="4" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="I"/>
</element>
<command name="Vector">
<input a0="J" a1="I"/>
<output a0="v"/>
</command>
<element type="vector" label="v">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-2" y="0"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<coords x="0" y="-4" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="J"/>
</element>
<command name="Midpoint">
<input a0="I" a1="J"/>
<output a0="K"/>
</command>
<element type="point" label="K">
<show object="false" label="true"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1" y="2" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="text1" exp=""高""/>
<element type="text" label="text1">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<startPoint exp="K"/>
<labelOffset x="-25" y="-9"/>
</element>
<command name="Midpoint">
<input a0="b"/>
<output a0="L"/>
</command>
<element type="point" label="L">
<show object="false" label="true"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-1.5" y="0" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="text2" exp=""底""/>
<element type="text" label="text2">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<startPoint exp="L"/>
<labelOffset x="-22" y="21"/>
</element>
<expression label="text3" exp=""平行四邊形的面積 = ""/>
<element type="text" label="text3">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<absoluteScreenLocation x="74" y="376"/>
</element>
<expression label="text4" exp=""底 × 高""/>
<element type="text" label="text4">
<show object="true" label="false"/>
<condition showObject="o ∧ p"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<absoluteScreenLocation x="247" y="376"/>
</element>
<element type="boolean" label="l">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="484" y="21"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue[t,0]"/>
<caption val="分割平行四邊形"/>
</element>
<element type="boolean" label="o">
<value val="false"/>
<show object="true" label="true"/>
<condition showObject="l"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="67" y="322"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="結論"/>
</element>
<element type="boolean" label="p">
<value val="false"/>
<show object="true" label="true"/>
<condition showObject="o"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="159" y="322"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="答案"/>
</element>
<expression label="text5" exp=""拖拉藍點,將著色部份移到長方形內。""/>
<element type="text" label="text5">
<show object="true" label="false" ev="8"/>
<condition showObject="l"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="0.6666666666666666" size="-6" style="1"/>
<absoluteScreenLocation x="670" y="353"/>
</element>
<command name="Angle">
<input a0="J" a1="I" a2="Translate[I, Vector[If[x(I) > x(C), Vector[C], Vector[(-C)]]]]"/>
<output a0="α"/>
</command>
<element type="angle" label="α">
<angleStyle val="1"/>
<value val="1.5707963267948966"/>
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="2"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<arcSize val="30"/>
</element>
<expression label="xmax" exp="ceil(x(Corner[3]))" />
<element type="numeric" label="xmax">
<value val="7"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="xmin" exp="floor(x(Corner[1]))" />
<element type="numeric" label="xmin">
<value val="-14"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="ymax" exp="ceil(y(Corner[3]))" />
<element type="numeric" label="ymax">
<value val="7"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="ymin" exp="floor(y(Corner[1]))" />
<element type="numeric" label="ymin">
<value val="-4"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Sequence">
<input a0="Segment[(0 + i, ymax), (0 + i, ymin)]" a1="i" a2="0" a3="ceil(xmax)"/>
<output a0="list7_1"/>
</command>
<element type="list" label="list7_1">
<show object="false" label="true"/>
<objColor r="153" g="153" b="153" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[((-i), ymax), (0 - i, ymin)]" a1="i" a2="1" a3="ceil(abs(xmin))"/>
<output a0="list7_2"/>
</command>
<element type="list" label="list7_2">
<show object="false" label="false"/>
<objColor r="153" g="153" b="153" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[(xmin, (-i)), (xmax, (-i))]" a1="i" a2="1" a3="ceil(abs(ymin))"/>
<output a0="list8_2"/>
</command>
<element type="list" label="list8_2">
<show object="false" label="false"/>
<objColor r="153" g="153" b="153" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[(xmin, i), (xmax, i)]" a1="i" a2="0" a3="ceil(ymax)"/>
<output a0="list8_1"/>
</command>
<element type="list" label="list8_1">
<show object="false" label="false"/>
<objColor r="153" g="153" b="153" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<pointSize val="3"/>
<angleStyle val="0"/>
</element>
<element type="boolean" label="q">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="301" y="21"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="ShowGrid[q]"/>
<caption val="顯示格線"/>
</element>
<element type="boolean" label="show_b">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_a">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_c">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_d">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="text6" exp=""點擊邊顯示它的長度。""/>
<element type="text" label="text6">
<show object="true" label="false" ev="8"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<absoluteScreenLocation x="31" y="37"/>
</element>
<element type="boolean" label="show_{height}">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_e">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_f">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_g">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="show_h">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<command name="Segment">
<input a0="I" a1="J"/>
<output a0="r"/>
</command>
<element type="segment" label="r">
<show object="false" label="false"/>
<condition showObject="o"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="-57" y="14"/>
<labelMode val="3"/>
<ggbscript val="SetValue[show_{height}, !show_{height}]
ShowLabel[r, show_{height}]"/>
<coords x="-4" y="0" z="4"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="%v cm"/>
</element>
</construction>
</geogebra>