探究平移抛物线逼近给定三点的方法
2020-10-13 14:53
本GeoGebra范例演示了如何通过平移操作使抛物线逼近给定的三个点。利用FitPoly命令拟合初始抛物线,结合向量和重心等几何工具,动态展示抛物线的平移过程与逼近效果。该课件直观解析了二次函数图像的平移变换规律及其在解析几何中的应用,适合用于函数图像变换与几何作图的辅助教学。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.609.0" app="classic" platform="w" id="dc309b5c-f8ac-4dc5-a90e-80b0bab0bfc8" xsi:noNamespaceSchemaLocation="https://ggb123.cn/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1339" height="556" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="1" 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="1" visible="true" inframe="false" stylebar="true" location="3" size="1339" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="239" tab="ALGEBRA" window="100,100,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="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="355" 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" />
</views>
<toolbar show="false" 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="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="16"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1339" height="556"/>
<coordSystem xZero="434.5304561908959" yZero="490.67284586870005" scale="36.7954095286586" yscale="36.79540952865865"/>
<evSettings axes="true" 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="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" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="point" label="A">
<show object="true" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-4.842496398249223" y="2.912907873226811" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="true" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.6246850392870378" y="4.937855908875182" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="C">
<show object="true" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="5" y="9"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-2.0115133681379502" y="0.6710193112904119" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="FitPoly">
<input a0="{A, B, C}" a1="2"/>
<output a0="f"/>
</command>
<element type="function" label="f">
<show object="true" label="true" ev="4"/>
<objColor r="204" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<ggbscript onUpdate="SetValue(h,f)"/>
<lineStyle thickness="2" type="0" typeHidden="1" opacity="178"/>
</element>
<expression label="text1" exp=""方法1:在平面上平移由三点确定的抛物线
1. 任意绘制三点,组成列表 pL={A,B,C}
2. 调用GGB指令创建抛物线 f: FitPoly(pL)
3. 用一个点D来控制平移的两个参数:左右平移和上下平移
4. 建立一个新的函数 g: f(x-x(D))+y(D)
5. 试着移动点D,可以观察到抛物线平移。""/>
<element type="text" label="text1">
<show object="true" label="true" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="192" b="203" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.4" size="7" style="0"/>
<absoluteScreenLocation x="662" y="81"/>
</element>
<element type="point" label="D">
<show object="true" label="true" ev="4"/>
<condition showObject="d"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="4" y="2" z="1"/>
<pointSize val="5"/>
<pointStyle val="10"/>
</element>
<command name="Vector">
<input a0="D"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="true" label="false"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="4" y="2" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
</element>
<expression label="g" exp="g(x) = f(x - x(D)) + y(D)" />
<element type="function" label="g">
<show object="true" label="true" ev="4"/>
<condition showObject="d"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
</element>
<expression label="text2" exp=""方法2:构建一个三角形,通过平移三角形
来达到平移抛物线的目的。
不能透明,用底色填充多边形。""/>
<element type="text" label="text2">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="175" g="238" b="238" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="1.4" size="7" style="0"/>
<absoluteScreenLocation x="661" y="295"/>
</element>
<element type="boolean" label="d">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="299" y="169"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="方法1"/>
</element>
<expression label="l1" exp="{Polygon[A, B, C]}" />
<element type="list" label="l1">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.25"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<command name="Centroid">
<input a0="l1(1)"/>
<output a0="E"/>
</command>
<element type="point" label="E">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-112.06184574503087" y="153.3018078717027" z="53.96821516986371"/>
<pointSize val="4"/>
<pointStyle val="2"/>
</element>
<command name="LaTeX">
<input a0="f" a1="true" a2="true"/>
<output a0="text3"/>
</command>
<element type="text" label="text3">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="127" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1" size="0" style="3"/>
<startPoint exp="E + (-6, 0)"/>
<labelOffset x="-76" y="25"/>
</element>
<expression label="text4" exp=""方法3:构造一个二次函数h: x^2 \\
并解锁该曲线\\
在原函数f(x)的OnUpdate事件中增加代码如下:\\
SetValue(h,f)""/>
<element type="text" label="text4">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="208" g="240" b="192" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="7" style="0"/>
<absoluteScreenLocation x="660" y="383"/>
</element>
<expression label="h" exp="h(x) = (0.44089782290216356 * x^(2)) + (2.2300062919603394 * x) + 3.37275216682907" type="function"/>
<element type="function" label="h">
<show object="true" label="true" ev="4"/>
<condition showObject="a"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
</element>
<element type="boolean" label="a">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="297" y="216"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="方法3"/>
</element>
</construction>
</geogebra>