Visualization of the ε-M Definition of Sequence Convergence
2014-08-28 06:03
This GeoGebra applet provides an interactive visualization of the rigorous ε-M (or ε-N) definition of sequence convergence. Users can adjust parameters such as ε (error bound) and M (index threshold) to dynamically observe the distribution of sequence terms. The construction categorizes points into good and bad points based on whether they fall within the ε-neighborhood of the limit. This geometri
In collections
Mathematical Analysis Lecture Notes
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.235.0" id="bacb671c-9afd-4d0c-8ec2-b620b93cdd2a" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="900" height="530" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.2222222222222222" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1" size="400" window="246,334,1037,663" />
<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,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 | 1011 || 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="true" location="1" size="898" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="200" window="100,100,250,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" 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="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 , 22 , 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" size="300" window="50,50,500,500" />
</views>
<toolbar show="false" 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="false" cmd="true" top="false" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="898" height="528"/>
<coordSystem xMin="viewLeft" xMax="viewRight" yMin="viewBottom" yMax="viewTop"/>
<evSettings axes="true" grid="false" gridIsBold="false" 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="1" grid="10"/>
<axis id="0" show="true" label="n" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" positiveAxis="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<grid distX="1" distY="0.0001" 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"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="Convergence of a sequence" author="" date="">
<worksheetText above="This applet illustrates the ε-N definition of convergence of a sequence." below="Enter a rule for the sequence [math]a_n[/math] in the box provided. Drag the green point to adjust the value of L. Click 'Show ε' or 'Show N' to display points for ε and N, and their corresponding regions. For each ε, can you find an N so that all points in the blue region are also in the orange region? Zoom in or out using the buttons, if needed."/>
<element type="point" label="Lpoint1">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1" y="0.9999" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="L" exp="y(Lpoint1)" />
<element type="numeric" label="L">
<value val="0.9999"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<ggbscript onUpdate="SetCoords[epsilonPoint1,1,L+epsilon] SetCoords[epsilonPoint2,2,L+epsilon] SetCoords[epsilonPoint3,1,L-epsilon] SetCoords[epsilonPoint4,2,L-epsilon]"/>
</element>
<element type="point" label="Mpoint1">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1" y="1" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label ="viewTopAnimStart" exp="5"/>
<element type="numeric" label="viewTopAnimStart">
<value val="5"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label ="viewTopAnimEnd" exp="5"/>
<element type="numeric" label="viewTopAnimEnd">
<value val="5"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="vt">
<value val="1"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="1" absoluteScreenLocation="true" width="200" x="0" y="0" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="50" type="3" playing="false"/>
</element>
<expression label="viewTop" exp="viewTopAnimStart + ((viewTopAnimEnd - viewTopAnimStart) * vt)" />
<element type="numeric" label="viewTop">
<value val="5"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label ="viewBottomAnimStart" exp="-5"/>
<element type="numeric" label="viewBottomAnimStart">
<value val="-5"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label ="viewBottomAnimEnd" exp="-5"/>
<element type="numeric" label="viewBottomAnimEnd">
<value val="-5"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label="viewBottom" exp="viewBottomAnimStart + ((viewBottomAnimEnd - viewBottomAnimStart) * vt)" />
<element type="numeric" label="viewBottom">
<value val="-5"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<element type="numeric" label="ht">
<value val="1"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="1" absoluteScreenLocation="true" width="200" x="0" y="0" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="40" type="3" playing="false"/>
</element>
<expression label ="hScaleAnimEnd" exp="20"/>
<element type="numeric" label="hScaleAnimEnd">
<value val="20"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label ="hScaleAnimStart" exp="20"/>
<element type="numeric" label="hScaleAnimStart">
<value val="20"/>
<show object="false" label="false"/>
<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>
<expression label="hScale" exp="hScaleAnimStart + ((hScaleAnimEnd - hScaleAnimStart) * ht)" />
<element type="numeric" label="hScale">
<value val="20"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label ="f" exp="f(n) = 1 + (2 * (-1)^(n) / n)"/>
<element type="function" label="f">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Textfield">
<input a0="f"/>
<output a0="fInput"/>
</command>
<element type="textfield" label="fInput">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="92" y="22"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<auxiliary val="true"/>
<linkedGeo exp="f"/>
<length val="15"/>
<caption val="f_n ="/>
</element>
<command name="Max">
<input a0="1" a1="ceil(hScale)"/>
<output a0="nMax"/>
</command>
<element type="numeric" label="nMax">
<value val="20"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Sequence">
<input a0="(n, f(n))" a1="n" a2="0" a3="nMax"/>
<output a0="seqPoints"/>
</command>
<element type="list" label="seqPoints">
<show object="false" label="true"/>
<condition showObject="(¬showEpsilon) ∨ (¬showM)"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<expression label="LPoint" exp="(0, L)" type="point" />
<element type="point" label="LPoint">
<show object="true" label="true"/>
<objColor r="51" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-71" y="15"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<coords x="0" y="0.9999" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<caption val="L = %y"/>
</element>
<element type="numeric" label="epsilon">
<value val="0.4961"/>
<show object="false" label="false"/>
<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>
<command name="Vector">
<input a0="LPoint" a1="(0, L - epsilon)"/>
<output a0="epsilonVector2"/>
</command>
<element type="vector" label="epsilonVector2">
<show object="true" label="false"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0" y="-0.4961" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="LPoint"/>
</element>
<expression label="viewRight" exp="(hScale * 1.02)" />
<element type="numeric" label="viewRight">
<value val="20.4"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Vector">
<input a0="LPoint" a1="(0, L + epsilon)"/>
<output a0="epsilonVector"/>
</command>
<element type="vector" label="epsilonVector">
<show object="true" label="false"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<coords x="0" y="0.4961" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="LPoint"/>
</element>
<command name="Polygon">
<input a0="(0, L + epsilon)" a1="(viewRight, L + epsilon)" a2="(viewRight, L - epsilon)" a3="(0, L - epsilon)"/>
<output a0="epsilonRegion" a1="epsilonRegionTop" a2="epsilonRegionRight" a3="epsilonRegionBottom" a4="epsilonRegionLeft"/>
</command>
<element type="polygon" label="epsilonRegion">
<lineStyle thickness="2" type="10" typeHidden="1"/>
<show object="true" label="false"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
</element>
<element type="segment" label="epsilonRegionTop">
<show object="false" label="false"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="20.4" z="-30.518399999999996"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="epsilonRegionRight">
<show object="false" label="true"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0.9922" y="0" z="-20.240879999999997"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="epsilonRegionBottom">
<show object="false" label="false"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="-20.4" z="10.277519999999999"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="epsilonRegionLeft">
<show object="false" label="true"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="-0.9922" y="0" z="0"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="M" exp="x(Mpoint1)" />
<element type="numeric" label="M">
<value val="1"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Polygon">
<input a0="(M, viewTop)" a1="(viewRight, viewTop)" a2="(viewRight, viewBottom)" a3="(M, viewBottom)"/>
<output a0="MRegion" a1="MRegionTop" a2="MRegionRight" a3="MRegionBottom" a4="MRegionLeft"/>
</command>
<element type="polygon" label="MRegion">
<lineStyle thickness="2" type="10" typeHidden="1"/>
<show object="true" label="false"/>
<condition showObject="showM"/>
<objColor r="0" g="0" b="255" alpha="0.05"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
</element>
<element type="segment" label="MRegionTop">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="19.4" z="-97"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="MRegionRight">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="10" y="0" z="-204"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="MRegionBottom">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="0" y="-19.4" z="-97"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="MRegionLeft">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<auxiliary val="false"/>
<coords x="-10" y="0" z="10"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="KeepIf">
<input a0="(x(P) > M) ∧ (abs(y(P) - L) ≥ epsilon)" a1="P" a2="seqPoints"/>
<output a0="badPoints"/>
</command>
<element type="list" label="badPoints">
<show object="true" label="true"/>
<condition showObject="showEpsilon ∧ showM"/>
<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"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="6"/>
<pointStyle val="0"/>
</element>
<command name="KeepIf">
<input a0="(x(P) > M) ∧ (abs(y(P) - L) < epsilon)" a1="P" a2="seqPoints"/>
<output a0="goodPoints"/>
</command>
<element type="list" label="goodPoints">
<show object="true" label="true"/>
<condition showObject="showEpsilon ∧ showM"/>
<objColor r="51" g="255" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="KeepIf">
<input a0="x(P) ≤ M" a1="P" a2="seqPoints"/>
<output a0="irrelevantPoints"/>
</command>
<element type="list" label="irrelevantPoints">
<show object="true" label="true"/>
<condition showObject="showEpsilon ∧ showM"/>
<objColor r="128" g="128" b="128" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<expression label="viewLeft" exp="(hScale * (-0.08))" />
<element type="numeric" label="viewLeft">
<value val="-1.6"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<element type="button" label="vZoomOut">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="506" y="20"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[viewTopAnimStart,viewTopAnimEnd] SetValue[viewTopAnimEnd, (viewTopAnimEnd - L)*2 + L] SetValue[viewBottomAnimStart,viewBottomAnimEnd] SetValue[viewBottomAnimEnd, (viewBottomAnimEnd - L)*2 + L] SetValue[vt,0] StartAnimation[vt] "/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<dimensions width="30" height="30" />
<caption val="-"/>
</element>
<command name="Point">
<input a0="{(viewLeft + viewRight) / 2, (viewTop + viewBottom) / 2}"/>
<output a0="viewCenter"/>
</command>
<element type="point" label="viewCenter">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="9.399999999999999" y="0" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="button" label="vZoomIn">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="536" y="20"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[viewTopAnimStart,viewTopAnimEnd] SetValue[viewTopAnimEnd, (viewTopAnimEnd - L)/2 + L] SetValue[viewBottomAnimStart,viewBottomAnimEnd] SetValue[viewBottomAnimEnd, (viewBottomAnimEnd - L)/2 + L] SetValue[vt,0] StartAnimation[vt] "/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<dimensions width="30" height="30" />
<caption val="+"/>
</element>
<element type="button" label="hZoomOut">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="643" y="21"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[hScaleAnimStart,hScaleAnimEnd] SetValue[hScaleAnimEnd, hScaleAnimEnd*2] SetValue[ht,0] StartAnimation[ht]"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<dimensions width="30" height="30" />
<caption val="-"/>
</element>
<element type="button" label="hZoomIn">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="673" y="21"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="If[hScaleAnimEnd > 20, RunClickScript[hZoomInDummy]] "/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<dimensions width="30" height="30" />
<caption val="+"/>
</element>
<expression label="vZoomLabel" exp=""Vertical zoom:""/>
<element type="text" label="vZoomLabel">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="500" y="15"/>
</element>
<expression label="hZoomLabel" exp=""Horizontal zoom:""/>
<element type="text" label="hZoomLabel">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="627" y="16"/>
</element>
<expression label="fnAxisLabel" exp=""f_n""/>
<element type="text" label="fnAxisLabel">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="48" y="14"/>
</element>
<expression label="seqInputLabel" exp=""Enter the rule for the sequence here:""/>
<element type="text" label="seqInputLabel">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<absoluteScreenLocation x="107" y="17"/>
</element>
<expression label ="showEpsilon" exp="false"/>
<element type="boolean" label="showEpsilon">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="766" y="7"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Show ε"/>
</element>
<expression label ="showM" exp="false"/>
<element type="boolean" label="showM">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="766" y="36"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Show M"/>
</element>
<element type="button" label="hZoomInDummy">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="618" y="65"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue[hScaleAnimStart,hScaleAnimEnd] SetValue[hScaleAnimEnd, hScaleAnimEnd/2] SetValue[ht,0] StartAnimation[ht] "/>
<font serif="false" sizeM="2" size="12" style="0"/>
<caption val="dummy +"/>
</element>
<expression label="def1" exp=""∀ε > 0""/>
<element type="text" label="def1">
<show object="true" label="false"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="358" y="501"/>
</element>
<expression label="def2" exp=""∃M∈ℕ""/>
<element type="text" label="def2">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="412" y="501"/>
</element>
<expression label="def3" exp=""∀n >""/>
<element type="text" label="def3">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="467" y="501"/>
</element>
<expression label="def4" exp=""M""/>
<element type="text" label="def4">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="509" y="501"/>
</element>
<expression label="def7" exp=""ε""/>
<element type="text" label="def7">
<show object="true" label="false"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="597" y="500"/>
</element>
<expression label="fnDisplay" exp=""f_n = " + (LaTeX[f]) + """ />
<element type="text" label="fnDisplay">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="310" y="10"/>
</element>
<expression label="def5" exp=""|f_n -""/>
<element type="text" label="def5">
<show object="true" label="false"/>
<objColor r="0" g="128" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="529" y="500"/>
</element>
<expression label="def6" exp=""<""/>
<element type="text" label="def6">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="581" y="501"/>
</element>
<element type="numeric" label="vScale">
<value val="5"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<expression label ="g" exp="g(n) = 1 + (2 * (-1)^(n) / sqrt(n))"/>
<element type="function" label="g">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Textfield">
<input a0="g"/>
<output a0="gInput"/>
</command>
<element type="textfield" label="gInput">
<show object="true" label="true"/>
<condition showObject="showG"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="93" y="88"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<auxiliary val="true"/>
<linkedGeo exp="g"/>
<length val="15"/>
<caption val="g_n ="/>
</element>
<expression label="gnDisplay" exp=""g_n = " + (LaTeX[g]) + """ />
<element type="text" label="gnDisplay">
<show object="true" label="false"/>
<condition showObject="showG"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="312" y="74"/>
</element>
<expression label ="showG" exp="false"/>
<element type="boolean" label="showG">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="524" y="75"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Show second sequence"/>
</element>
<command name="Sequence">
<input a0="(n, g(n))" a1="n" a2="0" a3="nMax"/>
<output a0="GseqPoints"/>
</command>
<element type="list" label="GseqPoints">
<show object="true" label="false"/>
<condition showObject="((¬showEpsilon) ∨ (¬showM)) ∧ showG"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="4"/>
</element>
<command name="KeepIf">
<input a0="(x(P) > M) ∧ (abs(y(P) - L) ≥ epsilon)" a1="P" a2="GseqPoints"/>
<output a0="GbadPoints"/>
</command>
<element type="list" label="GbadPoints">
<show object="true" label="false"/>
<condition showObject="showEpsilon ∧ showM ∧ showG"/>
<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"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="4"/>
</element>
<command name="KeepIf">
<input a0="(x(P) > M) ∧ (abs(y(P) - L) < epsilon)" a1="P" a2="GseqPoints"/>
<output a0="GgoodPoints"/>
</command>
<element type="list" label="GgoodPoints">
<show object="true" label="false"/>
<condition showObject="showEpsilon ∧ showM ∧ showG"/>
<objColor r="51" g="255" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="4"/>
</element>
<command name="KeepIf">
<input a0="x(P) ≤ M" a1="P" a2="GseqPoints"/>
<output a0="GirrelevantPoints"/>
</command>
<element type="list" label="GirrelevantPoints">
<show object="true" label="false"/>
<condition showObject="showEpsilon ∧ showM ∧ showG"/>
<objColor r="128" g="128" b="128" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="4"/>
</element>
<element type="point" label="Mpoint2">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1" y="2" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Line">
<input a0="Mpoint1" a1="Mpoint2"/>
<output a0="Mline"/>
</command>
<element type="line" label="Mline">
<show object="true" label="false" ev="4"/>
<condition showObject="showM"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<ggbscript onUpdate="If[x(Mpoint1) < 0 || x(Mpoint2) < 0, SetCoords[Mpoint1, 0,1]] If[x(Mpoint1) < 0 || x(Mpoint2) < 0, SetCoords[Mpoint2, 0,2]]"/>
<coords x="-1" y="0" z="1"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<eqnStyle style="implicit"/>
</element>
<element type="point" label="Lpoint2">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="2" y="0.9999" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Line">
<input a0="Lpoint1" a1="Lpoint2"/>
<output a0="Ldragline"/>
</command>
<element type="line" label="Ldragline">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="1" z="-0.9999"/>
<lineStyle thickness="2" type="20" typeHidden="1" opacity="0"/>
<eqnStyle style="implicit"/>
</element>
<command name="Ray">
<input a0="(0, L)" a1="(1, L)"/>
<output a0="LLine"/>
</command>
<element type="ray" label="LLine">
<show object="true" label="false" ev="4"/>
<objColor r="51" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0" y="1" z="-0.9999"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="epsilonPoint1">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1" y="1.496" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="epsilonPoint2">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2" y="1.496" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Line">
<input a0="epsilonPoint1" a1="epsilonPoint2"/>
<output a0="epsilonDragLine1"/>
</command>
<element type="line" label="epsilonDragLine1">
<show object="true" label="false" ev="4"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<ggbscript onUpdate="SetCoords[epsilonPoint3,1,L+(L-y(epsilonPoint1))] SetCoords[epsilonPoint4,2,L+(L-y(epsilonPoint1))] SetValue[epsilon, abs(L-y(epsilonPoint1))]"/>
<coords x="0" y="1" z="-1.496"/>
<lineStyle thickness="2" type="20" typeHidden="1" opacity="0"/>
<eqnStyle style="implicit"/>
</element>
<command name="Ray">
<input a0="(0, L + epsilon)" a1="(1, L + epsilon)"/>
<output a0="epsilonLine1"/>
</command>
<element type="ray" label="epsilonLine1">
<show object="true" label="false" ev="4"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0" y="1" z="-1.496"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Ray">
<input a0="(0, L - epsilon)" a1="(1, L - epsilon)"/>
<output a0="epsilonLine2"/>
</command>
<element type="ray" label="epsilonLine2">
<show object="true" label="false" ev="4"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0" y="1" z="-0.5038"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="epsilonPoint" exp="(0, L + epsilon)" type="point" />
<element type="point" label="epsilonPoint">
<show object="true" label="false"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0" y="1.496" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="epsilonPoint3">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1" y="0.5038" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="epsilonPoint4">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2" y="0.5038" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Line">
<input a0="epsilonPoint3" a1="epsilonPoint4"/>
<output a0="epsilonDragLine2"/>
</command>
<element type="line" label="epsilonDragLine2">
<show object="false" label="false" ev="4"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="255" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<ggbscript onUpdate="SetCoords[epsilonPoint1,1,L+(L-y(epsilonPoint3))] SetCoords[epsilonPoint2,2,L+(L-y(epsilonPoint3))] SetValue[epsilon, abs(L-y(epsilonPoint3))]"/>
<coords x="0" y="1" z="-0.5038"/>
<lineStyle thickness="2" type="20" typeHidden="1" opacity="0"/>
<eqnStyle style="implicit"/>
</element>
<expression label="epsilonLabel" exp="" ε = " + epsilon + """ />
<element type="text" label="epsilonLabel">
<show object="true" label="true"/>
<condition showObject="showEpsilon"/>
<objColor r="255" g="127" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<startPoint exp="(viewLeft, L + epsilon / 2)"/>
</element>
<expression label="def8" exp=""L""/>
<element type="text" label="def8">
<show object="true" label="false"/>
<objColor r="51" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="565" y="500"/>
</element>
<command name="If">
<input a0="(y(Corner[1]) > 0) ∨ (y(Corner[4]) < 0)" a1="(0.9 * y(Corner[1])) + (0.1 * y(Corner[4]))" a2="0"/>
<output a0="Mycoord"/>
</command>
<element type="numeric" label="Mycoord">
<value val="0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="def9" exp=""|""/>
<element type="text" label="def9">
<show object="true" label="false"/>
<objColor r="0" g="128" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="575" y="500"/>
</element>
<command name="Vector">
<input a0="(M, Mycoord)" a1="(viewRight, Mycoord)"/>
<output a0="MRay"/>
</command>
<element type="vector" label="MRay">
<show object="true" label="false" ev="4"/>
<condition showObject="showM"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="19.4" y="0" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint x="1" y="0" z="1"/>
</element>
<expression label="MPoint" exp="(M, Mycoord)" type="point" />
<element type="point" label="MPoint">
<show object="true" label="true" ev="4"/>
<condition showObject="showM"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-16" y="35"/>
<labelMode val="3"/>
<selectionAllowed val="false"/>
<coords x="1" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<caption val="M = %x"/>
</element>
</construction>
</geogebra>