Positional Relationship Between a Line and a Circle
2020-12-03 07:52
This GeoGebra applet dynamically demonstrates the three positional relationships between a line and a circle: intersecting, tangent, and disjoint. By constructing a circle and a line, it visually compares the distance from the center of the circle to the line with the radius of the circle. It includes geometric constructions such as tangent lines, intersection points, and distance measurements, ma
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.612.0" app="classic" platform="d" id="deca7237-1edc-45d6-8ddc-58c55d913cd9" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1382" height="744" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.17004341534008682" orientation="1" />
</panes>
<views>
<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 , 538 | 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="false" 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="4097" visible="false" inframe="false" stylebar="true" location="1,1" size="237" window="100,100,700,550" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="1115" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="true" location="3" size="235" tab="ALGEBRA" window="90,195,600,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="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" 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="0"/>
<font size="16"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1115" height="536"/>
<coordSystem xZero="523.5277070428385" yZero="229.31861647935705" scale="19.267016339164332" yscale="19.267016339164265"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<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="0"/>
<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="3"/>
</algebraView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2.0" max="2.0" step="1.0"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="r">
<value val="5.3"/>
<show object="true" label="true"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="10" width="4.0" x="3.501958568437493" y="-12.959006165013367" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="R">
<value val="4.8"/>
<show object="true" label="true"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelOffset x="-58" y="55"/>
<labelMode val="1"/>
<slider min="0" max="10" absoluteScreenLocation="true" width="200.0" x="690.0" y="450.0" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
</element>
<command name="Intersect">
<input a0="xAxis" a1="yAxis"/>
<output a0="L"/>
</command>
<element type="point" label="L">
<show object="true" label="true" ev="4"/>
<condition showObject="d"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="0.0" y="-0.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="O"/>
</element>
<command name="Intersect">
<input a0="xAxis" a1="yAxis"/>
<output a0="N"/>
</command>
<element type="point" label="N">
<show object="true" label="true" ev="4"/>
<condition showObject="n"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="0.0" y="-0.0" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="O"/>
</element>
<element type="point" label="E">
<show object="false" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-6.411356323591309" y="-9.014441077085664" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<caption val="港口"/>
</element>
<element type="point" label="C">
<show object="true" label="true" ev="4"/>
<condition showObject="b"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="21" y="7"/>
<labelMode val="3"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<ggbscript val=""/>
<ggbscript onUpdate="If(q<s, SetColor(f,255,0,0),SetColor(f,0,53,0))
SetCaption(f,If(q<s,"相交",q<s+0.04,"相切","相离"))"/>
<coords x="14.712827765705654" y="10.70838436255286" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="8"/>
<caption val="改变航线"/>
</element>
<command name="Segment">
<input a0="E" a1="C"/>
<output a0="f"/>
</command>
<element type="segment" label="f">
<show object="true" label="true" ev="4"/>
<condition showObject="b"/>
<objColor r="0" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-21" y="6"/>
<labelMode val="3"/>
<coords x="-19.722825439638523" y="21.124184089296964" z="63.97265117296398"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="相离"/>
</element>
<command name="Slope">
<input a0="f"/>
<output a0="m"/>
</command>
<element type="numeric" label="m">
<value val="0.9336609336609375"/>
<show object="false" label="false"/>
<objColor r="153" g="51" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<expression label="α" exp="atand(m)" />
<element type="angle" label="α">
<angleStyle val="3"/>
<value val="0.7511041171007494"/>
</element>
<command name="Point">
<input a0="f"/>
<output a0="F"/>
</command>
<element type="point" label="F">
<show object="true" label="true" ev="4"/>
<condition showObject="b"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<animation step="0.1" speed="1" type="1" playing="true"/>
<ggbscript onUpdate="D=F+(5*cos(α),5*sin(α)+Random(0, 1)/5)
"/>
<coords x="-5.168513662874311" y="-7.8540474380869885" z="1.0"/>
<coordStyle style="polar"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<caption val="轮船"/>
</element>
<element type="point" label="A">
<show object="false" label="true"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="4.806054383598927" y="-0.8536521330297941" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="false" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="12.40939741255391" y="-1.1788056279008243" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="image" label="pic2">
<file name="d837b203e566dd726f4ccc37bd4fbb14/未标题-1.jpg"/>
<inBackground val="false"/>
<startPoint number="0" exp="F"/>
<startPoint number="1" exp="D"/>
<auxiliary val="false"/>
<show object="true" label="true"/>
<condition showObject="b"/>
<objColor r="0" g="0" b="0" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="false"/>
</element>
<expression label="D" exp="F + ((5 * cos(α)), (5 * sin(α)) + Random[0, 1] / 5)" type="point" />
<element type="point" label="D">
<show object="false" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-1.5138345927560217" y="-4.24181636524926" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Distance">
<input a0="D" a1="F"/>
<output a0="DF"/>
</command>
<element type="numeric" label="DF">
<value val="5.138569103275258"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<auxiliary val="true"/>
</element>
<command name="Slope">
<input a0="f"/>
<output a0="m_1"/>
</command>
<element type="numeric" label="m_1">
<value val="0.9336609336609375"/>
<show object="false" label="false"/>
<objColor r="153" g="51" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Random">
<input a0="0" a1="1"/>
<output a0="a"/>
</command>
<element type="numeric" label="a">
<value val="1.0"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<element type="image" label="pic1">
<file name="d78f23350b407bd9df2a146db94dfaa9/礁石.jpg"/>
<inBackground val="true"/>
<startPoint number="0" x="7.4465236563651525" y="-6.6165607210032515" z="1"/>
<auxiliary val="false"/>
<show object="true" label="true"/>
<condition showObject="b ∧ temp"/>
<objColor r="0" g="0" b="0" alpha="1.0" dynamicr="33" dynamicg="4" dynamicb="5" dynamica="1" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="false"/>
</element>
<element type="point" label="G">
<show object="false" label="true"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="8.32886058392793" y="3.493982425421912" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="H">
<show object="false" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="16.114186415364152" y="6.556210585786822" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="I">
<show object="false" label="true"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="20.370164536549296" y="2.7154498422782907" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="G" a1="H" a2="I"/>
<output a0="c"/>
</command>
<element type="conic" label="c">
<show object="true" label="false" ev="4"/>
<condition showObject="b ∧ (¬temp)"/>
<objColor r="0" g="153" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<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="154.97642795901294" A3="0.0" A4="-14.155734246941414" A5="-0.10761155485341424"/>
<eqnStyle style="specific"/>
</element>
<command name="Circle">
<input a0="L" a1="r"/>
<output a0="d_2"/>
</command>
<element type="conic" label="d_2">
<show object="true" label="false" ev="4"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<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="-28.09" A3="0.0" A4="-0.0" A5="0.0"/>
<eqnStyle style="specific"/>
</element>
<element type="boolean" label="b">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-5" y="3"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(n,If(b,false))
SetValue(d,If(b,false))
SetValue(example,If(b,false))
SetValue(l2,If(b,false))
SetValue(lx2,If(b,false))"/>
<caption val="引例"/>
</element>
<command name="Point">
<input a0="d_2"/>
<output a0="M_{1}"/>
</command>
<element type="point" label="M_{1}">
<show object="true" label="true" ev="4"/>
<condition showObject="d"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-2.363417714716211" y="4.743865165217662" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<caption val="M"/>
</element>
<command name="Tangent">
<input a0="M_{1}" a1="d_2"/>
<output a0="i" a1=""/>
</command>
<element type="line" label="i">
<show object="true" label="false" ev="4"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-2.363417714716211" y="4.743865165217662" z="-28.09"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<expression label="text1_1" exp=""M的坐标:" + M_{1} + """ />
<element type="text" label="text1_1">
<show object="true" label="true" ev="8"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="2.80011341933226" y="-6.385676342778519" z="1.0"/>
</element>
<expression label="text1" exp=""圆的方程:" + d_2 + """ />
<element type="text" label="text1">
<show object="true" label="true" ev="40"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="8.276958411718367" y="-10.986723621049448" z="1.0"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
</element>
<expression label="text2" exp=""切线方程:" + i + """ />
<element type="text" label="text2">
<show object="true" label="true" ev="8"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="2.308208607617262" y="-8.85873456045686" z="1.0"/>
</element>
<element type="boolean" label="d">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-4" y="94"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(n,If(d,false))
SetValue(b,If(d,false))
SetValue(example,If(d,false))
SetValue(l2,If(d,false))
SetValue(lx2,If(d,false))"/>
<caption val="切线的性质一"/>
</element>
<element type="point" label="M">
<show object="true" label="true" ev="4"/>
<condition showObject="n"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-8.85075841744134" y="-7.976397632894161" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="N" a1="R"/>
<output a0="e"/>
</command>
<element type="conic" label="e">
<show object="true" label="false" ev="4"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<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="-23.04" A3="0.0" A4="-0.0" A5="0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Polar">
<input a0="M" a1="e"/>
<output a0="j"/>
</command>
<element type="line" label="j">
<show object="true" label="false" ev="4"/>
<condition showObject="n"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-8.85075841744134" y="-7.976397632894161" z="-23.04"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="e" a1="j"/>
<output a0="P" a1="Q"/>
</command>
<element type="point" label="P">
<show object="true" label="true" ev="4"/>
<condition showObject="n"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.5046245794958941" y="-4.558081271190413" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<element type="point" label="Q">
<show object="true" label="true" ev="4"/>
<condition showObject="n"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-4.377590694658196" y="1.968933647953117" z="1.0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Ray">
<input a0="M" a1="Q"/>
<output a0="k"/>
</command>
<element type="ray" label="k">
<show object="true" label="false" ev="4"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-9.945331280847277" y="4.473167722783143" z="-52.34396011265568"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Ray">
<input a0="M" a1="P"/>
<output a0="l"/>
</command>
<element type="ray" label="l">
<show object="true" label="true" ev="4"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-3.4183163617037478" y="10.355382996937234" z="52.343960112655694"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="text3" exp=""圆的方程:" + e + """ />
<element type="text" label="text3">
<show object="true" label="true" ev="40"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="8.225056239508799" y="-4.758462955900482" z="1.0"/>
</element>
<expression label="text4" exp=""直线的方程:" + j + """ />
<element type="text" label="text4">
<show object="true" label="true" ev="40"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="1.0625564745874545" y="-7.197865049750501" z="1.0"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
</element>
<expression label="text5" exp=""点M的坐标:" + M + """ />
<element type="text" label="text5">
<show object="true" label="true" ev="40"/>
<condition showObject="n"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="1.3739695078449135" y="-9.585364971390945" z="1.0"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
</element>
<element type="boolean" label="n">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-4" y="191"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(d,If(n,false))
SetValue(b,If(n,false))
SetValue(example,If(n,false))
SetValue(l2,If(n,false))
SetValue(lx2,If(n,false))
"/>
<caption val="切线性质二"/>
</element>
<element type="boolean" label="example">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-4" y="45"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(b,If(example,false))
SetValue(d,If(example,false))
SetValue(l2,If(example,false))
SetValue(n,If(example,false))
SetValue(lx2,If(example,false))"/>
<caption val="例一"/>
</element>
<expression label="text6" exp=""例1.判断下列直线和圆的位置关系:\\
1)x+y=0,x^2+y^2=1\\
2)x+y-6=0,x^2+y^2-2y-4=0\\
3)y-1=k(x+2),x^2+y^2=25\\
4)3x+4y=25,x^2+y^2=25""/>
<element type="text" label="text6">
<show object="false" label="true" ev="40"/>
<condition showObject="example"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="16" style="0"/>
<startPoint x="-19.59450806482334" y="7.905667063235806" z="1.0"/>
</element>
<element type="boolean" label="lx2">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-5" y="243"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(d,If(lx2,false))
SetValue(b,If(lx2,false))
SetValue(example,If(lx2,false))
SetValue(n,If(lx2,false))
SetValue(l2,If(lx2,false))"/>
<caption val="练习2."/>
</element>
<expression label="text8" exp=""练习2.当 k 为何值时,直线 l:y=kx+5 与圆 C:(x-1)^2+
y^2=1:\\(1)相交?(2)相切?(3)相离?""/>
<element type="text" label="text8">
<show object="true" label="true" ev="40"/>
<condition showObject="lx2"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="2.0" size="16" style="0"/>
<startPoint x="-20.217334131338227" y="3.649688942050653" z="1.0"/>
</element>
<element type="boolean" label="l2">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-4" y="146"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(b,If(l2,false))
SetValue(example,If(l2,false))
SetValue(d,If(l2,false))
SetValue(n,If(l2,false))
SetValue(lx2,If(l2,false))"/>
<caption val="例二"/>
</element>
<expression label="text9" exp=""例2.求由下列条件所决定的圆 x^2+y^2=4 的切线方程。\\(1)经过点P(√3,1);
(2)经过点Q(3,0);
(3)斜率为-1.""/>
<element type="text" label="text9">
<show object="true" label="true" ev="40"/>
<condition showObject="l2"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2.0" size="16" style="0"/>
<startPoint x="-20.16543195912865" y="8.113275752074099" z="1.0"/>
</element>
<element type="boolean" label="temp">
<value val="true"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="65" y="360"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<command name="Point">
<input a0="c"/>
<output a0="J"/>
</command>
<element type="point" label="J">
<show object="false" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="11.344690278285816" y="6.232805116206394" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="c"/>
<output a0="K"/>
</command>
<element type="point" label="K">
<show object="false" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="17.584192438262" y="5.909821374234456" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="c"/>
<output a0="O"/>
</command>
<element type="point" label="O">
<show object="false" label="true"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="20.895155549535673" y="0.12045148840877083" z="1.0"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="LineBisector">
<input a0="J" a1="K"/>
<output a0="g"/>
</command>
<element type="line" label="g">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-6.239502159976185" y="0.3229837419719379" z="88.28997762717383"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="LineBisector">
<input a0="K" a1="O"/>
<output a0="h"/>
</command>
<element type="line" label="h">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-3.310963111273672" y="5.7893698858256855" z="46.24611080958118"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="g" a1="h"/>
<output a0="S"/>
</command>
<element type="point" label="S">
<show object="true" label="true" ev="4"/>
<condition showObject="b"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<ggbscript val="temp=!temp"/>
<ggbscript onUpdate=""/>
<coords x="496.2065957740562" y="3.7721507318705676" z="35.053398652300224"/>
<pointSize val="7"/>
<pointStyle val="1"/>
</element>
<command name="OrthogonalLine">
<input a0="S" a1="f"/>
<output a0="p"/>
</command>
<element type="line" label="p">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-740.474446086704" y="-691.3520626853776" z="10556.356945871217"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="p" a1="f"/>
<output a0="T"/>
</command>
<element type="point" label="T">
<show object="false" label="true" ev="4"/>
<condition showObject="b ∧ (¬temp)"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="267222.05178079306" y="160831.07187993525" z="29277.334562233467"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="S" a1="T"/>
<output a0="q"/>
</command>
<element type="segment" label="q">
<show object="true" label="true" ev="4"/>
<condition showObject="b ∧ (¬temp)"/>
<objColor r="75" g="0" b="130" alpha="0.0"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="-5.385752997785903" y="-5.028467172379976" z="76.78040932727444"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<caption val="d"/>
</element>
<command name="Segment">
<input a0="S" a1="O"/>
<output a0="s"/>
</command>
<element type="segment" label="s">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-0.012839933555357577" y="6.739421302594261" z="-0.5434809180263567"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
</construction>
</geogebra>