Rolling Inscribed Circle Locus Demonstration
2013-01-17 12:17
This GeoGebra example demonstrates the geometric construction and locus generation of a circle rolling without slipping inside a fixed larger circle. Using Point, Segment, Circle, and Sequence commands, it builds a dynamic model of an inscribed circle rolling along the inner wall of a larger circle, illustrating the curve traced by a point on the rolling circle (such as a hypocycloid or astroid).
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="4.2" version="4.2.15.0" id="ef89ec14-557a-4875-9ff2-eaac918ddcea" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1366" height="728" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.07320644216691069" orientation="1" />
</panes>
<views>
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="1350" window="0,0,400,400" />
<view id="4" toolbar="0 59 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1" size="195" window="0,0,400,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="200" window="0,0,200,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 | 1011 || 1008 1009 || 6" visible="false" inframe="false" stylebar="false" location="1" size="145" window="50,50,500,500" />
<view id="16" visible="false" inframe="false" stylebar="true" location="1" size="145" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="145" window="50,50,500,500" />
<view id="64" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="4097" visible="false" inframe="true" stylebar="true" location="1" size="150" window="853,170,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 59 | 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 66 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="true" cmd="true" top="false" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="12"/>
<graphicsSettings javaLatexFonts="false"/>
<consProtColumns col0="true" col1="true" col2="false" col3="true" col4="false" col5="true" col6="true" col7="false"/>
<consProtocol useColors="true" addIcons="false" showOnlyBreakpoints="false"/>
</gui>
<euclidianView>
<size width="1350" height="562"/>
<coordSystem xZero="657.1882258663911" yZero="285.4873810704559" scale="21.023754214968687" yscale="21.02375421496869"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="13" 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>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
<startAnimation val="true"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="a">
<value val="22.83"/>
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="31.42" width="4.0" x="-20.557138437181585" y="11.962058655128281" fixed="false" horizontal="true"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<animation step="0.01" speed="0.2" type="0" playing="true"/>
</element>
<element type="numeric" label="r">
<value val="2.5"/>
<show object="true" label="true"/>
<objColor r="0" g="51" b="204" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="5" width="4.0" x="-20.414442705043314" y="10.20214462542295" fixed="false" horizontal="true"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<animation step="0.5" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="p">
<value val="9.0"/>
<show object="true" label="true"/>
<objColor r="0" g="204" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="5" max="10" width="4.0" x="-20.414442705043314" y="8.014143399302808" fixed="false" horizontal="true"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<animation step="0.5" speed="1" type="0" playing="false"/>
</element>
<expression label="c" exp="(x - (p - r) * cos(a))^(2) + (y - (p - r) * sin(a))^(2) = 0" type="conic" />
<element type="conic" label="c">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" 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="42.25" A3="0.0" A4="4.344064815699624" A5="4.835193985457108"/>
<eqnStyle style="implicit"/>
</element>
<expression label="d" exp="(x - r * cos(6.28 - p / r * a) - (p - r) * cos(a))^(2) + (y - r * sin(6.28 - p / r * a) - (p - r) * sin(a))^(2) = 0" type="conic" />
<element type="conic" label="d">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" 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="41.33877359473113" A3="0.0" A4="2.1619306049444487" A5="6.0551490199775975"/>
<eqnStyle style="implicit"/>
</element>
<command name="Point">
<input a0="c"/>
<output a0="A"/>
</command>
<element type="point" label="A">
<show object="true" label="false"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<coords x="-4.344064815699624" y="-4.835193985457108" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="d"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="true" label="false"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<coords x="-2.1619306049444487" y="-6.0551490199775975" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="B"/>
<output a0="b"/>
</command>
<element type="segment" label="b">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.2199550345204893" y="2.182134210755175" z="15.850605953499693"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Circle">
<input a0="A" a1="B"/>
<output a0="e"/>
</command>
<element type="conic" label="e">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" 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="36.0" A3="0.0" A4="4.344064815699624" A5="4.835193985457108"/>
<eqnStyle style="specific"/>
</element>
<element type="numeric" label="u">
<value val="0.7"/>
<show object="true" label="true"/>
<objColor r="127" g="0" b="255" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0.1" max="r" width="4.0" x="-20.414442705043314" y="6.349359857689656" fixed="false" horizontal="true"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label="g" exp="(x - u * cos(6.28 - p / r * a) - (p - r) * cos(a))^(2) + (y - u * sin(6.28 - p / r * a) - (p - r) * sin(a))^(2) = 0" type="conic" />
<element type="conic" label="g">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<trace val="true"/>
<lineStyle thickness="2" 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="40.734856606524716" A3="0.0" A4="3.733067236688175" A5="5.176781395122845"/>
<eqnStyle style="implicit"/>
</element>
<expression label="f" exp="x^(2) + y^(2) = p^(2)" type="conic" />
<element type="conic" label="f">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" 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="-81.0" A3="0.0" A4="0.0" A5="0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Sequence">
<input a0="(u * cos(6.28 - p / r * n / 10) + (p - r) * cos(n / 10) + 18, u * sin(6.28 - p / r * n / 10) + (p - r) * sin(n / 10))" a1="n" a2="1" a3="3140"/>
<output a0="list1"/>
</command>
<element type="list" label="list1">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="1"/>
<pointStyle val="0"/>
</element>
<expression label="文本1" exp=""a是滾動 r是內圓半徑 p是外圓半徑 u是動點位置""/>
<element type="text" label="文本1">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="12" style="1"/>
<startPoint x="-28.5" y="11.0" z="1.0"/>
</element>
<expression label="文本2" exp=""完成圖""/>
<element type="text" label="文本2">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="12" style="1"/>
<startPoint exp="(17, -p - 1)"/>
</element>
</construction>
</geogebra>