旋转变换互动测验
2016-02-19 15:00
本GeoGebra范例是一个关于旋转变换(Rotation)的互动数学测验工具。系统通过RandomElement、Shuffle、Random等命令随机生成旋转变换题目,涵盖不同象限(listQ1至listQ4)及不同方向(listRight、listLeft、listUp、listDown)的旋转问题。用户可通过滑块theta调整旋转角度,利用Rotate命令执行旋转变换,并通过buttonCheck检验答案正确性。系统自动评分(marks),显示对错反馈(picCorrect、picWrong),支持多语言切换(buttonLang)及提示功能(showHint)。该范例综合演示了平面几何中旋转变换的核心概念,包括旋转中心、旋转角度与旋转方向,适合用于课堂教学互动或学生自主练习。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.332.0" id="ad06fe48-204e-4462-bcf9-c623a97129c8" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="960" height="660" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.7104166666666667" 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="true" location="1,1" size="300" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="1,1" size="226" window="100,100,250,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="3" size="682" window="100,100,600,400" />
<view id="16" visible="true" inframe="false" stylebar="false" location="1" size="268" 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="128" visible="false" inframe="true" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="4097" visible="false" inframe="true" stylebar="true" location="1" size="383" window="209,40,861,716" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="43" visible="false" inframe="false" stylebar="false" location="1" size="450" 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="true" stylebar="true" location="1" size="480" window="50,50,500,500" />
</views>
<toolbar show="false" items="0 39 | 1 501 67 , 5 19 , 72 | 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="7" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="2"/>
<font size="20"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="682" height="658"/>
<coordSystem xZero="341" yZero="382.38573485660777" scale="41.88573485660769" yscale="41.88573485660773"/>
<evSettings axes="false" grid="true" gridIsBold="true" pointCapturing="2" 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="3" grid="0"/>
<axis id="0" show="false" label="x" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression=""/>
<axis id="1" show="false" label="y" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression=""/>
<grid distX="1" distY="1" distTheta="0.5235987755982988"/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="268" height="658"/>
<coordSystem xZero="24.99999999999997" yZero="292.00000000000006" scale="49.99999999999998" yscale="50.00000000000003"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="153"/>
<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>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<expression label ="N" exp="5"/>
<element type="numeric" label="N">
<value val="5"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="2"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="RandomElement">
<input a0="{90°, -90°, 180°, -180°, 270°, -270°}"/>
<output a0="theta"/>
</command>
<element type="angle" label="theta">
<angleStyle val="3"/>
<value val="-1.5707963267948966"/>
<show object="false" label="true" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="2"/>
<lineStyle thickness="2" type="0" typeHidden="2"/>
<arcSize val="30"/>
<selectionAllowed val="false"/>
</element>
<command name="Shuffle">
<input a0="Flatten[Sequence[Sequence[(i, j), j, (-N), N], i, 1, N]]"/>
<output a0="listRight"/>
</command>
<element type="list" label="listRight">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Shuffle">
<input a0="Flatten[Sequence[Sequence[(i, j), j, (-N), N], i, (-N), -1]]"/>
<output a0="listLeft"/>
</command>
<element type="list" label="listLeft">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Shuffle">
<input a0="Flatten[Sequence[Sequence[(i, j), j, 1, N], i, (-N), N]]"/>
<output a0="listUp"/>
</command>
<element type="list" label="listUp">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Shuffle">
<input a0="Flatten[Sequence[Sequence[(i, j), j, (-N), -1], i, (-N), N]]"/>
<output a0="listDown"/>
</command>
<element type="list" label="listDown">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Random">
<input a0="1" a1="8"/>
<output a0="qtype"/>
</command>
<element type="numeric" label="qtype">
<value val="3"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<selectionAllowed val="false"/>
</element>
<command name="Shuffle">
<input a0="Flatten[Sequence[Sequence[(i, j), j, 0, N], i, 0, N]]"/>
<output a0="listQ1"/>
</command>
<element type="list" label="listQ1">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="255" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Rotate">
<input a0="listQ1" a1="180°"/>
<output a0="listQ3"/>
</command>
<element type="list" label="listQ3">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="255" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Rotate">
<input a0="listQ1" a1="270°"/>
<output a0="listQ4"/>
</command>
<element type="list" label="listQ4">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="255" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Rotate">
<input a0="listQ1" a1="90°"/>
<output a0="listQ2"/>
</command>
<element type="list" label="listQ2">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="255" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="If">
<input a0="qtype ≟ 1" a1="Element[listUp, 1]" a2="If[qtype ≟ 2, Element[listDown, 1], If[qtype ≟ 3, Element[listLeft, 1], If[qtype ≟ 4, Element[listRight, 1], If[qtype ≟ 5, Element[listQ1, 1], If[qtype ≟ 6, Element[listQ2, 1], If[qtype ≟ 7, Element[listQ3, 1], If[qtype ≟ 8, Element[listQ4, 1]]]]]]]]"/>
<output a0="Q1"/>
</command>
<element type="point" label="Q1">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="2"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-2" y="-4" z="1"/>
<pointSize val="7"/>
<pointStyle val="0"/>
</element>
<element type="point" label="A">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="153" b="255" alpha="0"/>
<layer val="9"/>
<labelMode val="2"/>
<animation step="1" speed="1" type="1" playing="false"/>
<isShape val="false"/>
<coords x="1" y="2" z="1"/>
<pointSize val="7"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="153" b="255" alpha="0"/>
<layer val="9"/>
<labelMode val="2"/>
<animation step="1" speed="1" type="1" playing="false"/>
<isShape val="false"/>
<coords x="4" y="2" z="1"/>
<pointSize val="7"/>
<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" ev="8"/>
<condition showObject="join"/>
<objColor r="0" g="153" b="255" alpha="0"/>
<layer val="8"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="0" y="3" z="-6"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="button" label="buttonNext">
<show object="true" label="true" ev="1"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="25" y="242"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<isShape val="false"/>
<auxiliary val="true"/>
<ggbscript val="UpdateConstruction[] SetValue[A,Q1] SetValue[B,Q2] SetValue[join,false] SetVisibleInView[picCorrect,2,false] SetVisibleInView[picWrong,2,false] SetVisibleInView[buttonCheck,2,true] SetVisibleInView[buttonNext,2,false] SetVisibleInView[Q1',1,false] SetVisibleInView[Q2',1,false] SetVisibleInView[segAns,1,false] SetVisibleInView[segAns1,1,false] SetVisibleInView[segAns2,1,false] SetVisibleInView[segA,1,false] SetVisibleInView[segB,1,false] SetVisibleInView[segQ1,1,false] SetVisibleInView[segQ2,1,false] SetValue[showHint,false] SetVisibleInView[showHint,1,true]"/>
<font serif="false" sizeM="2" size="20" style="0"/>
<caption val="Next"/>
</element>
<command name="If">
<input a0="qtype ≟ 1" a1="Element[listUp, 2]" a2="If[qtype ≟ 2, Element[listDown, 2], If[qtype ≟ 3, Element[listLeft, 2], If[qtype ≟ 4, Element[listRight, 2], If[qtype ≟ 5, Element[listQ1, 2], If[qtype ≟ 6, Element[listQ2, 2], If[qtype ≟ 7, Element[listQ3, 2], If[qtype ≟ 8, Element[listQ4, 2]]]]]]]]"/>
<output a0="Q2"/>
</command>
<element type="point" label="Q2">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="2"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-5" y="-4" z="1"/>
<pointSize val="7"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="Q1" a1="Q2"/>
<output a0="b"/>
</command>
<element type="segment" label="b">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="0" y="-3" z="-12"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Rotate">
<input a0="Q2" a1="theta"/>
<output a0="Q2'"/>
</command>
<element type="point" label="Q2'">
<show object="true" label="false" ev="5"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="2"/>
<labelMode val="2"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-4" y="5" z="1"/>
<pointSize val="7"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="Q1" a1="theta"/>
<output a0="Q1'"/>
</command>
<element type="point" label="Q1'">
<show object="true" label="false" ev="5"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="2"/>
<labelMode val="2"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-4" y="1.9999999999999998" z="1"/>
<pointSize val="7"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="Q2'" a1="Q1'"/>
<output a0="segAns"/>
</command>
<element type="segment" label="segAns">
<show object="true" label="true" ev="9"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="3" y="0" z="12"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="Answer"/>
</element>
<expression label="correct" exp="{A, B} ≟ {Q1', Q2'} ∨ {A, B} ≟ {Q2', Q1'}" />
<element type="boolean" label="correct">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="button" label="buttonCheck">
<show object="true" label="true" ev="3"/>
<condition showObject="join"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="25" y="242"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<isShape val="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[marks,If[correct,marks+1,marks]] SetVisibleInView[picCorrect,2,correct] SetVisibleInView[picWrong,2,!correct] SetVisibleInView[buttonCheck,2,false] SetVisibleInView[buttonNext,2,true] SetVisibleInView[Q1',1,!correct] SetVisibleInView[Q2',1,!correct] SetVisibleInView[segAns,1,!correct] SetVisibleInView[showHint,1,false] SetVisibleInView[segAns1,1,!correct] SetVisibleInView[segAns2,1,!correct] SetVisibleInView[segA,1,correct&&showHint] SetVisibleInView[segB,1,correct&&showHint] SetVisibleInView[segQ1,1,!correct||showHint] SetVisibleInView[segQ2,1,!correct||showHint] "/>
<font serif="false" sizeM="2" size="20" style="0"/>
<caption val="Check"/>
</element>
<element type="numeric" label="marks">
<value val="0"/>
<show object="false" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="2"/>
<slider min="-999" max="999" absoluteScreenLocation="true" width="200" x="30" y="50" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="boolean" label="showAxes">
<value val="false"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="20" y="37"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="ShowAxes[1,showAxes] ShowLabel[A,showAxes] ShowLabel[B,showAxes] ShowLabel[Q1,showAxes] ShowLabel[Q2,showAxes] ShowLabel[Q1',showAxes] ShowLabel[Q2',showAxes]"/>
<caption val="Show coordinates"/>
</element>
<expression label ="O" exp="(0, 0)" type="point"/>
<element type="point" label="O">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="3"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="0" y="0" z="1"/>
<pointSize val="7"/>
<pointStyle val="1"/>
</element>
<command name="Segment">
<input a0="O" a1="Q1"/>
<output a0="segQ1"/>
</command>
<element type="segment" label="segQ1">
<show object="true" label="false" ev="9"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="4" y="-2" z="0"/>
<lineStyle thickness="4" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="O" a1="Q2"/>
<output a0="segQ2"/>
</command>
<element type="segment" label="segQ2">
<show object="true" label="false" ev="9"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="4" y="-5" z="0"/>
<lineStyle thickness="4" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="boolean" label="showHint">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="545" y="42"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetVisibleInView[segA,1,showHint] SetVisibleInView[segB,1,showHint] SetVisibleInView[segQ1,1,showHint] SetVisibleInView[segQ2,1,showHint]"/>
<caption val="Hint"/>
</element>
<command name="Segment">
<input a0="O" a1="Q1'"/>
<output a0="segAns1"/>
</command>
<element type="segment" label="segAns1">
<show object="true" label="false" ev="9"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-1.9999999999999998" y="-4" z="0"/>
<lineStyle thickness="4" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="O" a1="Q2'"/>
<output a0="segAns2"/>
</command>
<element type="segment" label="segAns2">
<show object="true" label="false" ev="9"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-5" y="-4" z="0"/>
<lineStyle thickness="4" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="O" a1="A"/>
<output a0="segA"/>
</command>
<element type="segment" label="segA">
<show object="true" label="false" ev="5"/>
<objColor r="0" g="153" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-2" y="1" z="0"/>
<lineStyle thickness="4" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="O" a1="B"/>
<output a0="segB"/>
</command>
<element type="segment" label="segB">
<show object="true" label="false" ev="5"/>
<objColor r="0" g="153" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<coords x="-2" y="4" z="0"/>
<lineStyle thickness="4" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="image" label="picCorrect">
<file name="ac60c94a2aa06c56b488b82e4022653e/thumb-up.png"/>
<inBackground val="false"/>
<absoluteScreenLocation x="25" y="192"/> <show object="true" label="true" ev="1"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
</element>
<element type="image" label="picWrong">
<file name="a94e0f31e7dfd448c35c108f5edd6f90/Cold Sweat.png"/>
<inBackground val="false"/>
<absoluteScreenLocation x="25" y="192"/> <show object="true" label="true" ev="1"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
</element>
<element type="button" label="button0">
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="3"/>
<labelOffset x="28" y="445"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<isShape val="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[lang,If[lang==1,2,1]] RunClickScript[buttonLang] "/>
<font serif="false" sizeM="1.4" size="8" style="0"/>
<caption val="中文"/>
</element>
<element type="button" label="buttonLang">
<show object="false" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="3"/>
<labelOffset x="37" y="531"/>
<labelMode val="0"/>
<fixed val="true"/>
<isShape val="false"/>
<auxiliary val="true"/>
<ggbscript val="SetCaption[button0,If[lang==1,"ENG","中文"]] SetCaption[buttonNext,If[lang==1,"下一題","Next"]] SetCaption[buttonCheck,If[lang==1,"核對","Check"]] SetCaption[showAxes,If[lang==1,"顯示坐標","Show coordinates"]] SetCaption[segAns,If[lang==1,"答案","Answer"]] SetCaption[showHint,If[lang==1,"提示","Hint"]] SetCaption[join,If[lang==1,"連線","Join"]]"/>
<font serif="false" sizeM="2" size="20" style="0"/>
</element>
<element type="numeric" label="lang">
<value val="2"/>
<symbolic val="true" />
<show object="false" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="3"/>
<labelMode val="2"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="textMarks" exp=""" + (If[lang ≟ 1, "分數", "Marks"]) + " = " + marks + """ />
<element type="text" label="textMarks">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="28" y="365"/>
</element>
<expression label="textQeng" exp=""a rotation of " + (abs(theta)) + " about " + (If[showAxes, "the origin", "the red point"]) + "\\nin " + (If[theta > 0°, "anticlockwise", "clockwise"]) + " direction"" />
<element type="text" label="textQeng">
<show object="true" label="true" ev="8"/>
<condition showObject="lang ≟ 2"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.3" size="6" style="0"/>
<absoluteScreenLocation x="22" y="42"/>
</element>
<expression label="textQ" exp=""繞" + (If[showAxes, "原點", "紅點"]) + "" + (If[theta > 0°, "逆", "順"]) + "時針旋轉" + (abs(theta)) + """ />
<element type="text" label="textQ">
<show object="true" label="true" ev="8"/>
<condition showObject="lang ≟ 1"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="8" style="0"/>
<absoluteScreenLocation x="20" y="46"/>
</element>
<element type="boolean" label="join">
<value val="false"/>
<show object="true" label="true"/>
<condition showObject="(A ≠ Q1) ∨ (B ≠ Q2)"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="545" y="126"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="Join"/>
</element>
</construction>
</geogebra>