Geometric Construction with Polygons and Vectors: Centroid and Transformations
2022-03-28 09:27
This GeoGebra example demonstrates a complex polygonal geometric construction involving multiple points (A through R and their primed counterparts K', L', O', P', Q', R', M'), segments, and vectors. Using Polygon, Segment, and Vector commands, it constructs polygon poly1 and explores its centroid (barycenter) properties. The figure includes multiple pairs of transformed points, illustrating the ap
In collections
Clever Perimeter Calculations
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.694.0" app="classic" platform="w" id="dd310801-4a3d-4fa9-ac4a-6843a89dc7d4" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="700" height="495" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.26" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="false" stylebar="true" location="1,1,1,1" size="400" window="1014,414,852,735" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="true" 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="2" visible="false" inframe="false" stylebar="true" location="3" size="182" tab="ALGEBRA" window="1955,378,389,803" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="145" 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="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 | 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="0" size="485" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="" size="495" window="100,100,600,400" />
</views>
<toolbar show="false" items="0 39 | 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 | 30 29 54 32 31 33 | 17 26 62 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="20"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="700" height="495"/>
<coordSystem xZero="211.43526596709853" yZero="355.82379987503384" scale="19.277164471476546" yscale="19.277164471476567"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="0" 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"/>
<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="boolean" label="hint">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="327" y="2"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetLineStyle[c, If[hint, 2, 0]]
SetLineStyle[d, If[hint, 2, 0]]
SetLineStyle[f, If[hint, 2, 0]]
SetLineStyle[g, If[hint, 2, 0]]
SetValue[K, H]
SetValue[L, G]
SetValue[O, G]
SetValue[P, F]
SetValue[M, D]
SetValue[N, C]
SetValue[R, E]
SetValue[Q, D]
SetValue[started, true]"/>
<caption val="提示"/>
</element>
<expression label="text2" exp=""\red{拖拉顏色線}到適當位置。你能找出圖形的周界嗎?""/>
<element type="text" label="text2">
<show object="false" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<startPoint x="-0.8148599999999998" y="-1.6979999999999997" z="1"/>
</element>
<element type="point" label="A">
<show object="false" label="true" ev="4"/>
<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="0" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="false" label="true" ev="4"/>
<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="0" y="13" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="C">
<show object="false" label="true" ev="4"/>
<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="13" y="13" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="J">
<show object="false" label="true" ev="4"/>
<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" y="6" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="I">
<show object="false" label="true" ev="4"/>
<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="5" y="6" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="H">
<show object="false" label="true" ev="4"/>
<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="13" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="F">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="19" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="1"/>
</element>
<element type="point" label="D">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="13" y="10" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="E">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="19" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="1"/>
</element>
<element type="point" label="G">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="13" y="3" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Polygon">
<input a0="A" a1="B" a2="C" a3="D" a4="E" a5="F" a6="G" a7="H"/>
<output a0="poly1" a1="a" a2="b" a3="c" a4="d" a5="e" a6="f" a7="g" a8="h"/>
</command>
<element type="polygon" label="poly1">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="208" g="204" b="0" alpha="0.3499999940395355"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
</element>
<element type="segment" label="a">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-80" y="7"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="-13" y="0" z="0"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="52 mm"/>
</element>
<element type="segment" label="b">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-4" y="8"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="13" z="-169"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="2 cm"/>
</element>
<element type="segment" label="c">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="3" y="0" z="-39"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="d">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="6" z="-60"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="e">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="7" y="0" z="-133"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-42" y="5"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="-6" z="18"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="4 cm"/>
</element>
<element type="segment" label="g">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="3" y="0" z="-39"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="h">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="-13" z="0"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="K">
<show object="false" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(K, (If(x(K)<x(H), x(H), If(x(K)>x(F), x(F), x(K))), y(H)))
SetValue(L, (If(x(L)<x(G), x(G), If(x(K)>x(F), x(F), x(L))), y(G)))"/>
<coords x="13" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="L">
<show object="false" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(K, (If(x(K)<x(H), x(H), If(x(K)>x(F), x(F), x(K))), y(H)))
SetValue(L, (If(x(L)<x(G), x(G), If(x(L)>x(F), x(F), x(L))), y(G)))"/>
<coords x="13" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="K" a1="L"/>
<output a0="i"/>
</command>
<element type="segment" label="i">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-3" y="0" z="39"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="K'" exp="K" type="point" />
<element type="point" label="K'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="13" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<expression label="L'" exp="L" type="point" />
<element type="point" label="L'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="13" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<element type="point" label="M">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(M, ( If(x(M)<x(D), x(D), If(x(M)>x(E), x(E), x(M))) ,y(D)))
SetValue(N, ( If(x(N)<x(C), x(C), If(x(N)>x(E), x(E), x(N))) ,y(C)))"/>
<coords x="13" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="N">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(M, ( If(x(M)<x(D), x(D), If(x(M)>x(E), x(E), x(M))) ,y(D)))
SetValue(N, ( If(x(N)<x(C), x(C), If(x(N)>x(E), x(E), x(N))) ,y(C)))"/>
<coords x="13" y="13" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="M" a1="N"/>
<output a0="j"/>
</command>
<element type="segment" label="j">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="127" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-3" y="0" z="39"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="O">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(O, (x(G), If(y(O)>y(G),y(G), If(y(O)<y(H), y(H), y(O)))))
SetValue(P, (x(F), If(y(P)>y(F),y(F), If(y(P)<y(H), y(H), y(P)))))"/>
<coords x="13" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="P">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(O, (x(G), If(y(O)>y(G),y(G), If(y(O)<y(H), y(H), y(O)))))
SetValue(P, (x(F), If(y(P)>y(F),y(F), If(y(P)<y(H), y(H), y(P)))))"/>
<coords x="19" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="O" a1="P"/>
<output a0="k"/>
</command>
<element type="segment" label="k">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-42" y="5"/>
<labelMode val="3"/>
<coords x="0" y="6" z="-18"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="4 cm"/>
</element>
<expression label="O'" exp="O" type="point" />
<element type="point" label="O'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="13" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<expression label="P'" exp="P" type="point" />
<element type="point" label="P'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="19" y="3" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<element type="point" label="Q">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(Q, (x(D), If(y(Q)<y(D), y(D), If(y(Q)>y(C), y(C), y(Q)))))
SetValue(R, (x(E), If(y(R)<y(D), y(D), If(y(R)>y(C), y(C), y(R)))))"/>
<coords x="13" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="R">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<selectionAllowed val="false"/>
<ggbscript onUpdate="SetValue(Q, (x(D), If(y(Q)<y(D), y(D), If(y(Q)>y(C), y(C), y(Q)))))
SetValue(R, (x(E), If(y(R)<y(D), y(D), If(y(R)>y(C), y(C), y(R)))))"/>
<coords x="19" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="Q" a1="R"/>
<output a0="l"/>
</command>
<element type="segment" label="l">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="6" z="-60"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="Q'" exp="Q" type="point" />
<element type="point" label="Q'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="13" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<expression label="R'" exp="R" type="point" />
<element type="point" label="R'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="19" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<expression label="M'" exp="M" type="point" />
<element type="point" label="M'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="127" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="13" y="10" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<expression label="N'" exp="N" type="point" />
<element type="point" label="N'">
<show object="true" label="false" ev="4"/>
<condition showObject="hint"/>
<objColor r="127" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="13" y="13" z="1"/>
<pointSize val="5"/>
<pointStyle val="2"/>
</element>
<element type="boolean" label="m">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="427" y="2"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="改變形狀"/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<condition showObject="(¬hint) ∧ started ∧ m"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="224" g="224" b="224" alpha="255"/>
<layer val="0"/>
<labelOffset x="570" y="6"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetLineStyle[c, 0]
SetLineStyle[d, 0]
SetLineStyle[f, 0]
SetLineStyle[g, 0]
SetValue[E, (8,6)]
SetValue[F, (4,6)]
SetValue[K, H]
SetValue[L, G]
SetValue[O, F]
SetValue[P, G]
SetValue[M, D]
SetValue[N, C]
SetValue[R, E]
SetValue[Q, D]
SetValue[started, false]
SetValue[m, false]"/>
<font serif="false" sizeM="1.4" size="8" style="0"/>
<caption val="重設"/>
</element>
<element type="boolean" label="started">
<value val="true"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="text1" exp=""" + (LaTeX[If[(¬hint) ∧ m ∧ started, "拖拉×點,\;改變圖形形狀。\\圖形的周界是多少?", "下圖的周界是多少?"]]) + "\\" + (LaTeX[If[hint, text2, ""]]) + """ />
<element type="text" label="text1">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="6" y="5"/>
</element>
<command name="Segment">
<input a0="A - (0, 0.5)" a1="A - (0, 1.5)"/>
<output a0="n"/>
</command>
<element type="segment" label="n">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="1" y="0" z="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="A + (19, -0.5)" a1="A + (19, -1.5)"/>
<output a0="p"/>
</command>
<element type="segment" label="p">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="1" y="0" z="-19"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Vector">
<input a0="Midpoint[p]" a1="Midpoint[n]"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="-19" y="0" z="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint x="19" y="-1" z="1"/>
</element>
<command name="Vector">
<input a0="Midpoint[n]" a1="Midpoint[p]"/>
<output a0="v"/>
</command>
<element type="vector" label="v">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-23" y="26"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<coords x="19" y="0" z="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint x="0" y="-1" z="1"/>
<caption val="76 mm"/>
</element>
<element type="image" label="pic1">
<file name="46faf4dbc385f168a0cf0a9a5e23af7e/QSIP.png"/>
<inBackground val="false"/>
<absoluteScreenLocation x="10" y="487"/> <show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
</element>
</construction>
</geogebra>