二元一次不等式标准形式的动态图像演示
2016-11-16 14:56
本范例动态演示二元一次不等式标准形式的图像绘制。用户可通过输入框自定义系数,系统实时绘制边界直线及不等式表示的平面区域。该工具直观展示线性不等式解集在二维坐标系中的几何意义,适合中学代数教学,帮助学生理解不等式与直线方程的关系及图形表示。
所属专题
初中函数
GeoGebra 画板及绘图内容加载中,请稍等……
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.290.0" id="ec6df964-a6fe-4898-95ed-cbc0da18e9d3" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="733" height="479" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.694406548431105" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="507,271,700,550" />
<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 , 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="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="2" visible="false" inframe="true" stylebar="true" location="3,3" size="200" window="825,72,250,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="false" location="3" size="509" window="100,100,600,400" />
<view id="16" visible="true" inframe="false" stylebar="false" location="1" size="214" 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" />
</views>
<toolbar show="false" items="0 39 | 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 | 30 29 54 32 31 33 | 17 26 62 73 , 14 68 | 25 52 60 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="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="509" height="477"/>
<coordSystem xZero="254.5" yZero="239.5" scale="30.375753361018898" yscale="30.37575336101885"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="188" g="212" b="230"/>
<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="x" unitLabel="" tickStyle="2" showNumbers="true" tickDistance="NaN" tickExpression=""/>
<axis id="1" show="true" label="y" unitLabel="" tickStyle="2" showNumbers="true" tickDistance="NaN" tickExpression=""/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="214" height="477"/>
<coordSystem xZero="146.62358515324826" yZero="258.90633142414254" scale="29.80357724357148" yscale="29.80357724357146"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="188" g="212" b="230"/>
<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" tickDistance="NaN" tickExpression=""/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="NaN" tickExpression=""/>
</euclidianView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="a">
<value val="1"/>
<show object="true" label="false" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-50" max="50" absoluteScreenLocation="true" width="150" x="27" y="140" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="b">
<value val="1"/>
<show object="true" label="false" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-50" max="50" absoluteScreenLocation="true" width="150" x="27" y="229" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="c">
<value val="1"/>
<show object="true" label="false" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-50" max="50" absoluteScreenLocation="true" width="150" x="27" y="319" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<command name="Textfield">
<input a0="a"/>
<output a0="InputBox1"/>
</command>
<element type="textfield" label="InputBox1">
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelOffset x="27" y="80"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<auxiliary val="true"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<linkedGeo exp="a"/>
<length val="5"/>
<caption val="A ="/>
</element>
<command name="Textfield">
<input a0="b"/>
<output a0="InputBox2"/>
</command>
<element type="textfield" label="InputBox2">
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelOffset x="27" y="169"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<auxiliary val="true"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<linkedGeo exp="b"/>
<length val="4"/>
<caption val="B ="/>
</element>
<command name="Textfield">
<input a0="c"/>
<output a0="InputBox3"/>
</command>
<element type="textfield" label="InputBox3">
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelOffset x="27" y="259"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<auxiliary val="true"/>
<font serif="false" sizeM="1.4" size="5" style="0"/>
<linkedGeo exp="c"/>
<length val="4"/>
<caption val="C ="/>
</element>
<expression label="d" exp="d(x, y) = (a * x) + (b * y) ≥ c" />
<element type="functionNVar" label="d">
<show object="true" label="false" ev="4"/>
<condition showObject="h ≟ 3 ∨ h ≟ 4"/>
<objColor r="255" g="239" b="213" alpha="0.75"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="1" type="0" typeHidden="1"/>
</element>
<expression label="f" exp="(a * x) + (b * y) = c" type="line" />
<element type="line" label="f">
<show object="true" label="false" ev="4"/>
<condition showObject="h ≟ 2 ∨ h ≟ 4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="1" y="1" z="-1"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
</element>
<expression label="e" exp="e(x, y) = (a * x) + (b * y) ≤ c" />
<element type="functionNVar" label="e">
<show object="false" label="false" ev="4"/>
<condition showObject="h ≟ 1 ∨ h ≟ 2"/>
<objColor r="255" g="239" b="213" alpha="0.75"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="1" type="0" typeHidden="1"/>
</element>
<expression label="g" exp="(a * x) + (b * y) = c" type="line" />
<element type="line" label="g">
<show object="false" label="false" ev="4"/>
<condition showObject="h ≟ 1 ∨ h ≟ 3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="1" y="1" z="-1"/>
<lineStyle thickness="5" type="15" typeHidden="1"/>
<eqnStyle style="implicit"/>
</element>
<element type="numeric" label="h">
<value val="2"/>
<show object="true" label="false" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelOffset x="23" y="-7"/>
<labelMode val="1"/>
<slider min="1" max="4" absoluteScreenLocation="true" width="76" x="129" y="457" fixed="true" horizontal="false" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="text2" exp=""Choose Inequality Symbol: ""/>
<element type="text" label="text2">
<show object="true" label="true" ev="43"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1" size="0" style="1"/>
<absoluteScreenLocation x="30" y="363"/>
</element>
<expression label="text3" exp=""≤""/>
<element type="text" label="text3">
<show object="true" label="true" ev="43"/>
<condition showObject="h ≟ 2"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="4" size="36" style="1"/>
<absoluteScreenLocation x="31" y="382"/>
</element>
<expression label="text3_1" exp=""<""/>
<element type="text" label="text3_1">
<show object="true" label="true" ev="43"/>
<condition showObject="h ≟ 1"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="4" size="36" style="1"/>
<absoluteScreenLocation x="30" y="381"/>
</element>
<expression label="text3_2" exp="">""/>
<element type="text" label="text3_2">
<show object="true" label="true" ev="43"/>
<condition showObject="h ≟ 3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="4" size="36" style="1"/>
<absoluteScreenLocation x="30" y="381"/>
</element>
<expression label="text3_3" exp=""≥""/>
<element type="text" label="text3_3">
<show object="true" label="true" ev="43"/>
<condition showObject="h ≟ 4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="4" size="36" style="1"/>
<absoluteScreenLocation x="30" y="381"/>
</element>
<expression label="text1" exp=""" + (LaTeX[a]) + "x \; +" + (LaTeX[b]) + "y \; ≥" + (LaTeX[c]) + """ />
<element type="text" label="text1">
<show object="true" label="true" ev="8"/>
<condition showObject="h ≟ 4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="2"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="12" style="1"/>
<absoluteScreenLocation x="12" y="12"/>
</element>
<expression label="text4" exp=""" + (LaTeX[a]) + "x \; +" + (LaTeX[b]) + "y \; ≤ " + (LaTeX[c]) + " "" />
<element type="text" label="text4">
<show object="true" label="true" ev="8"/>
<condition showObject="h ≟ 2"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="2"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="12" style="1"/>
<absoluteScreenLocation x="12" y="12"/>
</element>
<expression label="text5" exp=""Select Parameters: ""/>
<element type="text" label="text5">
<show object="true" label="true" ev="43"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="1.4" size="5" style="1"/>
<absoluteScreenLocation x="31" y="40"/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="204" g="255" b="204" alpha="255"/>
<layer val="2"/>
<labelOffset x="11" y="422"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="CenterView[(0,0)]"/>
<caption val="Center (0,0)"/>
</element>
<expression label="text6" exp=""" + (LaTeX[a]) + "x \; +" + (LaTeX[b]) + "y \; <" + (LaTeX[c]) + """ />
<element type="text" label="text6">
<show object="true" label="true" ev="40"/>
<condition showObject="h ≟ 1"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="2"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="12" style="1"/>
<absoluteScreenLocation x="12" y="13"/>
</element>
<expression label="text7" exp=""" + (LaTeX[a]) + "x \; +" + (LaTeX[b]) + " y\; >" + (LaTeX[c]) + """ />
<element type="text" label="text7">
<show object="true" label="true" ev="40"/>
<condition showObject="h ≟ 3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="2"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="12" style="1"/>
<absoluteScreenLocation x="12" y="12"/>
</element>
<element type="numeric" label="i">
<value val="0"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="2"/>
<labelMode val="1"/>
<slider min="0" max="2" absoluteScreenLocation="true" width="200" x="283" y="434" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="button" label="button2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="208" g="240" b="192" alpha="255"/>
<layer val="2"/>
<labelOffset x="133" y="422"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="i = i + 1 If[i==2, SetValue[i, 0]] If[i==0, SetCaption[button2, "Show Grid"]] If[i==1, ShowGrid[1,true]] If[i==1, SetCaption[button2, "Hide Grid"]] If[i==0, ShowGrid[1,false]]"/>
<caption val="Show Grid"/>
</element>
<command name="Intersect">
<input a0="f" a1="y = 0"/>
<output a0="A"/>
</command>
<element type="point" label="A">
<show object="true" label="true" ev="4"/>
<condition showObject="j"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="2"/>
<labelOffset x="-28" y="29"/>
<labelMode val="2"/>
<coords x="1" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Intersect">
<input a0="f" a1="x = 0"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="true" label="true" ev="4"/>
<condition showObject="j"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="2"/>
<labelOffset x="-47" y="15"/>
<labelMode val="2"/>
<coords x="0" y="1" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="boolean" label="j">
<value val="false"/>
<show object="true" label="true"/>
<condition showObject="m ≠ 0"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="2"/>
<labelOffset x="341" y="417"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Show Intercept(s)"/>
</element>
<command name="Slope">
<input a0="f"/>
<output a0="m"/>
</command>
<element type="numeric" label="m">
<value val="-1"/>
<show object="false" label="true"/>
<objColor r="255" g="102" b="153" alpha="0.1"/>
<layer val="2"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
</construction>
</geogebra>