二元可分离函数 f(x,y)=g(x)h(y) 的三维可视化
2017-04-17 07:50
本范例演示了二元可分离函数 f(x, y) = g(x)h(y) 的三维几何构造与可视化。通过输入框自定义一元函数 g(x) 和 h(y),利用笛卡尔曲线和三维角点命令,构建出对应的三维曲面或柱体结构(如长方体、角柱等)。该范例直观展示了多元函数分解为单变量函数乘积的几何意义,适合用于高等数学和多元微积分的教学演示。
所属专题
函数
GeoGebra 画板及绘图内容加载中,请稍等……
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.352.0" id="b28d1567-e125-4c0a-82d0-9e8be6ea7ab9" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="934" height="751" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.8908122503328895" orientation="0" />
<pane location="0" divider="0.9978586723768736" orientation="1" />
</panes>
<views>
<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,3" size="300" 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="true" location="1,1" size="300" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="0,3" size="237" window="100,100,250,400" />
<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="true" inframe="false" stylebar="false" location="0,3" size="932" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="2" size="72" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="474" 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="4097" visible="false" inframe="true" stylebar="true" location="1" size="345" window="439,222,700,550" />
<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 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 || 100003" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="16"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="932" height="72"/>
<coordSystem xZero="313.99999999999994" yZero="266.9999999999998" scale="50.000000000000014" yscale="49.99999999999997"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" 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="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<uses3D val="true"/>
<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"/>
<euclidianView3D>
<coordSystem xZero="0" yZero="0" zZero="-1.5" scale="50" xAngle="23" zAngle="591.1759312469743"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="0"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="2" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<plate show="false"/>
<bgColor r="255" g="255" b="255"/>
<clipping use="false" show="false" size="1"/>
<projection type="1"/>
</euclidianView3D>
<construction title="" author="" date="">
<expression label ="g" exp="g(x) = ((x - 1) * (x + 1) / 4)"/>
<element type="function" label="g">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<isShape val="false"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
</element>
<expression label ="h" exp="h(x) = sin(x)"/>
<element type="function" label="h">
<show object="false" label="false" ev="4"/>
<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"/>
<isShape val="false"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
</element>
<expression label="f" exp="f(x, y) = (g(x) * h(y))" />
<element type="functionNVar" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="153" b="255" alpha="0.8999999761581421"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<lineStyle thickness="1" type="20" typeHidden="2"/>
</element>
<command name="CornerThreeD">
<input a0="-1" a1="1"/>
<output a0="A"/>
</command>
<element type="point3d" label="A">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<coords x="-6.590235200658622" y="-6.590235200658622" z="-3.2205443661380024" w="1"/>
<pointSize val="3"/>
</element>
<command name="CornerThreeD">
<input a0="-1" a1="2"/>
<output a0="B"/>
</command>
<element type="point3d" label="B">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<coords x="6.590235200658622" y="-6.590235200658622" z="-3.2205443661380024" w="1"/>
<pointSize val="3"/>
</element>
<command name="CornerThreeD">
<input a0="-1" a1="3"/>
<output a0="C"/>
</command>
<element type="point3d" label="C">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isShape val="false"/>
<coords x="6.590235200658622" y="6.590235200658622" z="-3.2205443661380024" w="1"/>
<pointSize val="3"/>
</element>
<expression label="x1" exp="x(A)" />
<element type="numeric" label="x1">
<value val="-6.590235200658622"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="x2" exp="x(B)" />
<element type="numeric" label="x2">
<value val="6.590235200658622"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="y1" exp="y(B)" />
<element type="numeric" label="y1">
<value val="-6.590235200658622"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="y2" exp="y(C)" />
<element type="numeric" label="y2">
<value val="6.590235200658622"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="CurveCartesian">
<input a0="t" a1="0" a2="g(t)" a3="t" a4="x1" a5="x2"/>
<output a0="cg"/>
</command>
<element type="curvecartesian3d" label="cg">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
</element>
<command name="CurveCartesian">
<input a0="0" a1="t" a2="h(t)" a3="t" a4="y1" a5="y2"/>
<output a0="ch"/>
</command>
<element type="curvecartesian3d" label="ch">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isShape val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
</element>
<command name="Textfield">
<input a0="g"/>
<output a0="inputBox1"/>
</command>
<element type="textfield" label="inputBox1">
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelOffset x="64" y="17"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<isShape val="false"/>
<auxiliary val="true"/>
<linkedGeo exp="g"/>
<caption val="g(x)="/>
</element>
<command name="Textfield">
<input a0="h"/>
<output a0="inputBox2"/>
</command>
<element type="textfield" label="inputBox2">
<show object="true" label="true"/>
<objColor r="0" g="100" b="0" alpha="1"/>
<layer val="0"/>
<labelOffset x="414" y="17"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<fixed val="true"/>
<isShape val="false"/>
<auxiliary val="true"/>
<linkedGeo exp="h"/>
<caption val="h(x)="/>
</element>
<expression label="text1" exp=""f(x, y) = g(x) h(y)""/>
<element type="text" label="text1">
<show object="true" label="false" ev="37"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="7" style="1"/>
<absoluteScreenLocation x="12" y="17"/>
</element>
</construction>
</geogebra>