日食与轨道周期模拟
2019-04-24 04:21
本GeoGebra范例通过三维几何与向量变换,动态模拟了日食现象及天体轨道周期。利用球体、圆和向量等命令构建天体模型,并结合时间参数与滑块动画展示天体运行轨迹与相对位置关系,直观演示日食发生的几何条件与轨道周期规律。
所属专题
太阳系的奥秘
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.535.0" app="classic" platform="w" id="7d776eb5-b5c9-48b6-bb4d-71ac5c64bd5d" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="964" height="703" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.12660028449502134" orientation="0" />
</panes>
<views>
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="1,3,3" size="300" window="100,100,600,400" />
<view id="1" visible="false" inframe="false" stylebar="false" location="1,3" size="500" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 || 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="2" visible="false" inframe="false" stylebar="false" location="2,3" size="363" window="100,100,250,400" />
<view id="16" visible="true" inframe="false" stylebar="false" location="0" size="89" 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="4097" visible="false" inframe="false" stylebar="true" location="1" size="224" window="100,100,700,550" />
<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="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 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 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="true" inframe="false" stylebar="false" location="2" size="553" window="100,100,600,400" />
</views>
<toolbar show="true" items="0 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="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="20"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1060" height="732"/>
<coordSystem xZero="214.99999999999997" yZero="315.00000000000017" scale="49.999999999999986" yscale="50.000000000000036"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="10"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="1234" height="89"/>
<coordSystem xZero="229" yZero="320.00000000000006" scale="49.99999999999998" yscale="50.00000000000007"/>
<evSettings axes="false" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="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"/>
</euclidianView>
<algebraView>
<mode val="1"/>
<collapsed val="0"/>
</algebraView>
<kernel>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
<startAnimation val="true"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<euclidianView3D>
<coordSystem xZero="21.780615059259173" yZero="16.249773237523705" zZero="-2.539720246023673" scale="9.474937355681034" xAngle="25" zAngle="-261"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="2" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<plate show="true"/>
<bgColor r="255" g="255" b="255"/>
<clipping use="true" show="false" size="2"/>
<projection type="0"/>
</euclidianView3D>
<construction title="日蝕與軌道週期" author="" date="">
<element type="angle" label="orb">
<angleStyle val="3"/>
<value val="0.08726646259971647"/>
<slider min="0" max="90°" absoluteScreenLocation="true" width="180" x="715" y="37" fixed="true" horizontal="true" showAlgebra="false"/>
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<bgColor r="255" g="0" b="0" alpha="102"/>
<layer val="0"/>
<labelMode val="2"/>
<lineStyle thickness="10" type="0" typeHidden="2"/>
<arcSize val="30"/>
<animation step="5°" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="rol">
<value val="8"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<bgColor r="255" g="0" b="0" alpha="102"/>
<layer val="0"/>
<labelMode val="2"/>
<slider min="4" max="10" absoluteScreenLocation="true" width="200" x="931" y="38" fixed="true" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="Intersect">
<input a0="zAxis" a1="xOyPlane"/>
<output a0="A"/>
</command>
<element type="point3d" label="A">
<show object="false" label="true" ev="4"/>
<objColor r="255" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="0" z="0" w="1"/>
<pointSize val="3"/>
</element>
<element type="numeric" label="rot">
<value val="30"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="50" absoluteScreenLocation="true" width="200" x="30" y="210" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="pot">
<value val="368.25"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="2"/>
<slider min="360" max="370" absoluteScreenLocation="true" width="200" x="249" y="38" fixed="true" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.25" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="time">
<value val="712"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="2"/>
<slider min="0" max="1500" absoluteScreenLocation="true" width="200" x="17" y="38" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<animation step="0.5" speed="0.1" type="1" playing="true"/>
</element>
<command name="Vector">
<input a0="((rot * cos(((2 * π) * time / pot))), (rot * sin(((2 * π) * time / pot))), 0)"/>
<output a0="pt"/>
</command>
<element type="vector3d" label="pt">
<show object="false" label="false" ev="4"/>
<condition showObject="a ≠ 0"/>
<objColor r="0" g="255" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="27.416763537680712" y="-12.178714099563273" z="0" w="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
</element>
<element type="numeric" label="pol">
<value val="29.5"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<bgColor r="0" g="0" b="0" alpha="102"/>
<layer val="0"/>
<labelMode val="2"/>
<slider min="28" max="31" absoluteScreenLocation="true" width="200" x="481" y="37" fixed="true" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.5" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="rs">
<value val="2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="rt">
<value val="0.5"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="rl">
<value val="0.2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" x="30" y="250" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="Sphere">
<input a0="A" a1="rs"/>
<output a0="s"/>
</command>
<element type="quadric" label="s">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="102" b="0" alpha="0.75"/>
<layer val="0"/>
<labelOffset x="47" y="-6"/>
<labelMode val="3"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<eigenvectors x0="1" y0="0" z0="0" x1="0" y1="1" z1="0" x2="0" y2="0" z2="1"/>
<matrix A0="1" A1="1" A2="1" A3="-4" A4="0" A5="0" A6="0" A7="0" A8="0" A9="0"/>
<eqnStyle style="specific"/>
<caption val="太陽"/>
</element>
<command name="Sphere">
<input a0="A + pt" a1="rt"/>
<output a0="t"/>
</command>
<element type="quadric" label="t">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="153" b="255" alpha="0.81"/>
<layer val="0"/>
<labelOffset x="64" y="48"/>
<labelMode val="3"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<eigenvectors x0="1" y0="0" z0="0" x1="0" y1="1" z1="0" x2="0" y2="0" z2="1"/>
<matrix A0="1" A1="1" A2="1" A3="899.7499999999999" A4="0" A5="0" A6="0" A7="-27.416763537680712" A8="12.178714099563273" A9="0"/>
<eqnStyle style="specific"/>
<caption val="地球"/>
</element>
<command name="Translate">
<input a0="Rotate[Circle[A, rol, z = 0], orb, xAxis]" a1="pt"/>
<output a0="c"/>
</command>
<element type="conic3d" label="c">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="1" type="20" typeHidden="1"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-64" A3="0" A4="0" A5="0"/>
<eqnStyle style="parametric"/>
</element>
<expression label="α" exp="acos((rs - rt) / rot)" />
<element type="numeric" label="α">
<value val="1.5207754699891267"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Circle">
<input a0="A" a1="rot" a2="xOyPlane"/>
<output a0="d"/>
</command>
<element type="conic3d" label="d">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="20" typeHidden="1"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-900" A3="0" A4="0" A5="0"/>
<eqnStyle style="parametric"/>
</element>
<command name="Line">
<input a0="(0, 0, 0)" a1="(1, 0, 0)"/>
<output a0="b"/>
</command>
<element type="line3d" label="b">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="3"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<coords ox="0" oy="0" oz="0" ow="1" vx="1" vy="0" vz="0" vw="0"/>
<eqnStyle style="parametric" parameter="λ"/>
</element>
<command name="Translate">
<input a0="Rotate[Sphere[(((-rol) * cos(((2 * π) * time / pol))), ((-rol) * sin(((2 * π) * time / pol))), 0), rl], orb, xAxis]" a1="pt"/>
<output a0="l"/>
</command>
<element type="quadric" label="l">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.75"/>
<layer val="0"/>
<labelMode val="3"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<eigenvectors x0="1" y0="0" z0="0" x1="0" y1="0.9961946980917455" z1="0.08715574274765817" x2="0" y2="-0.08715574274765817" z2="0.9961946980917455"/>
<matrix A0="1" A1="1" A2="1" A3="821.179465233916" A4="0" A5="0" A6="0" A7="-22.14867250516041" A8="18.176370186519346" A9="0.5247269153359098"/>
<eqnStyle style="specific"/>
</element>
<expression label="texte1" exp="" Time (日子)""/>
<element type="text" label="texte1">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="-2.9999999999999996" y="5.059999999999999" z="1"/>
</element>
<expression label="texte2" exp=""地球公轉時間""/>
<element type="text" label="texte2">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="1.5000000000000013" y="5.06" z="1"/>
</element>
<expression label="texte3" exp=""月球公轉時間 ""/>
<element type="text" label="texte3">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="6.160000000000003" y="5.06" z="1"/>
</element>
<expression label="texte4" exp="" 地月軌道傾角""/>
<element type="text" label="texte4">
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="10.360000000000003" y="5.06" z="1"/>
</element>
<expression label="texte5" exp="" 發生日蝕!!!""/>
<element type="text" label="texte5">
<show object="true" label="false" ev="4"/>
<condition showObject="a ≠ 0"/>
<objColor r="0" g="255" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="8" size="140" style="1"/>
<startPoint x="-16.366149671116744" y="-6.765943635244604" z="1"/>
</element>
<expression label="a" exp="Distance[(((rot - rol) * cos(((2 * π) * time / pot))), ((rot - rol) * sin(((2 * π) * time / pot))), 0), Translate[Rotate[(((-rol) * cos(((2 * π) * time / pol))), ((-rol) * sin(((2 * π) * time / pol))), 0), orb, xAxis], pt]] < rl" />
<element type="boolean" label="a">
<value val="false"/>
<show object="false" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="text1" exp="" 月球軌道半徑""/>
<element type="text" label="text1">
<symbolic val="true" />
<show object="true" label="true" ev="11"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="15.02000000000001" y="5.059999999999994" z="1"/>
</element>
</construction>
</geogebra>