特殊时钟模拟
2018-08-25 07:17
本范例展示了一个特殊时钟的几何与运动模拟。通过圆、点、线段、向量和旋转等几何构造,结合序列和缩放等变换,动态演示时钟指针的运动规律及表盘上的几何关系。涉及三角函数与圆的参数方程,适合用于理解周期性运动、角度与弧度的转换以及几何变换在动画中的应用。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.487.0" app="classic" platform="d" id="152040b5-1de6-4948-8cbf-a8eb29024b14" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1942" height="1042" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.21009268795056643" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="411,195,796,637" />
<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="1,1,1" size="500" window="100,100,600,400" />
<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="16" visible="false" inframe="false" stylebar="true" location="1,3" size="330" window="50,50,500,500" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="1909" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="408" window="100,100,250,400" />
<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="28"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1909" height="773"/>
<coordSystem xZero="380.4902673708211" yZero="387.5871671815641" scale="23.32536901048662" yscale="23.32536901048663"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<bgColor r="255" g="239" b="213"/>
<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"/>
<startAnimation val="true"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="point" label="B">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="5.0" y="0.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<element type="point" label="A">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="3"/>
<labelOffset x="-15" y="42"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="0.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="A" a1="B"/>
<output a0="c"/>
</command>
<element type="conic" label="c">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="-25.0" A3="0.0" A4="-0.0" A5="-0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Point">
<input a0="c"/>
<output a0="C"/>
</command>
<element type="point" label="C">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelOffset x="4" y="21"/>
<labelMode val="0"/>
<animation step="0.1" speed="If[b, 1, 0]" type="2" playing="true"/>
<coords x="1.355330590708352" y="4.812803651707615" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Dilate">
<input a0="C" a1="2 / 3" a2="A"/>
<output a0="C'"/>
</command>
<element type="point" label="C'">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="5"/>
<labelOffset x="-7" y="33"/>
<labelMode val="0"/>
<coords x="0.9035537271389013" y="3.2085357678050763" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="C"/>
<output a0="f"/>
</command>
<element type="segment" label="f">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="-4.812803651707615" y="1.355330590708352" z="0.0"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Circle">
<input a0="C'" a1="f"/>
<output a0="d"/>
</command>
<element type="conic" label="d">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="-13.888888888888902" A3="0.0" A4="-0.9035537271389013" A5="-3.2085357678050763"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="d" a1="yAxis" a2="2"/>
<output a0="D"/>
</command>
<element type="point" label="D">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="5"/>
<labelOffset x="-13" y="0"/>
<labelMode val="0"/>
<coords x="0.0" y="8.126217199351188" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="D" a1="C'"/>
<output a0="g"/>
</command>
<element type="segment" label="g">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="255" alpha="0.0"/>
<layer val="4"/>
<labelMode val="0"/>
<coords x="4.917681431546113" y="0.9035537271389013" z="-7.34247383801401"/>
<lineStyle thickness="11" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Sequence">
<input a0="Rotate[D, ((t * 30))°, A]" a1="t" a2="1" a3="12"/>
<output a0="P"/>
</command>
<element type="list" label="P">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="3"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="4"/>
<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.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-14.86241" y="8.474494000000007" z="1.0"/>
<pointSize val="4"/>
<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.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="-12.356397876000022" y="8.392964127400017" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="E" a1="F"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0.08152987259999023" y="2.5060121239999784" z="-20.02545431493627"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Sequence">
<input a0="Circle[P(t), h]" a1="t" a2="1" a3="12"/>
<output a0="Pcircle"/>
</command>
<element type="list" label="Pcircle">
<show object="false" label="true"/>
<objColor r="0" g="102" b="51" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="Intersect[Pcircle(t), Pcircle(If[t ≟ 12, 1, t + 1]), 2]" a1="t" a2="1" a3="12"/>
<output a0="MP"/>
</command>
<element type="list" label="MP">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="Segment[P(t), MP(t)]" a1="t" a2="1" a3="12"/>
<output a0="E1"/>
</command>
<element type="list" label="E1">
<show object="true" label="true" ev="4"/>
<objColor r="128" g="0" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="Segment[P(t), MP(If[t ≟ 1, 12, t - 1])]" a1="t" a2="1" a3="12"/>
<output a0="E2"/>
</command>
<element type="list" label="E2">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="MP(If[t ≟ 12, 1, t + 1]) + MP(t) - P(If[t ≟ 12, 1, t + 1])" a1="t" a2="1" a3="12"/>
<output a0="OP"/>
</command>
<element type="list" label="OP">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="Segment[MP(t), OP(If[t ≟ 1, 12, t - 1])]" a1="t" a2="1" a3="12"/>
<output a0="E3"/>
</command>
<element type="list" label="E3">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="Segment[OP(t), MP(t)]" a1="t" a2="1" a3="12"/>
<output a0="E4"/>
</command>
<element type="list" label="E4">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="13" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="-1"/>
</element>
<expression label="G" exp="(-13, 0)" type="point"/>
<element type="point" label="G">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="-13.0" y="0.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<expression label="H" exp="(13, 0)" type="point"/>
<element type="point" label="H">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="13.0" y="0.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="G" a1="H"/>
<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.0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="26.0" y="0.0" z="0.0"/>
<lineStyle thickness="6" type="20" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="G"/>
</element>
<expression label="I" exp="(0, -13)" type="point"/>
<element type="point" label="I">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="-13.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<expression label="J" exp="(0, 13)" type="point"/>
<element type="point" label="J">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="13.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="I" a1="J"/>
<output a0="v"/>
</command>
<element type="vector" label="v">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="0.0" y="26.0" z="0.0"/>
<lineStyle thickness="6" type="20" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="I"/>
</element>
<element type="point" label="K">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="-14.16480734480003" y="-14.157590153800045" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<element type="point" label="L">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="14.531589281200025" y="-14.157590153800045" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<element type="image" label="pic1">
<file name="96fa48a7016a74b9e211912b92c0c4b8/circle.png"/>
<inBackground val="false"/>
<startPoint number="0" exp="K"/>
<startPoint number="1" exp="L"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="Dilate">
<input a0="C" a1="1.4" a2="A"/>
<output a0="C'_1"/>
</command>
<element type="point" label="C'_1">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="1.8974628269916927" y="6.73792511239066" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="f"/>
<output a0="M"/>
</command>
<element type="point" label="M">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.2339250764416048" y="0.8306722137332783" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="A" a1="M"/>
<output a0="e"/>
</command>
<element type="conic" label="e">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="-0.7447372680567559" A3="0.0" A4="-0.0" A5="-0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Rotate">
<input a0="M" a1="20°" a2="A"/>
<output a0="M'"/>
</command>
<element type="point" label="M'">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="-0.06428896144875076" y="0.8605836377090823" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="M" a1="-20°" a2="A"/>
<output a0="M'_1"/>
</command>
<element type="point" label="M'_1">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="0.5039242977466619" y="0.7005694613650308" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Polygon">
<input a0="C'_1" a1="M'_1" a2="A" a3="M'"/>
<output a0="q1" a1="c'_1" a2="m'_1" a3="a" a4="m'"/>
</command>
<element type="polygon" label="q1">
<lineStyle thickness="4" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="1.0"/>
<layer val="4"/>
<labelMode val="0"/>
</element>
<element type="segment" label="c'_1">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="6.03735565102563" y="-1.3935385292450309" z="-2.0660996698653227"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="m'_1">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.7005694613650308" y="-0.5039242977466619" z="0.0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="a">
<show object="true" label="false"/>
<objColor r="128" g="0" b="128" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-0.8605836377090823" y="-0.06428896144875076" z="0.0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="m'">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="0" b="128" alpha="0.0"/>
<layer val="4"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-5.877341474681578" y="1.9617517884404434" z="-2.0660996698653227"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="boolean" label="b">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="769" y="95"/>
<labelMode val="4"/>
<checkbox fixed="true"/>
<caption val="start"/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="5"/>
<labelOffset x="643" y="49"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="b=!b"/>
<font serif="false" sizeM="2.0" size="28" style="0"/>
<caption val="start"/>
</element>
</construction>
</geogebra>