柯西不等式的向量几何演示 (4)
2016-11-11 02:19
本 GeoGebra 范例通过向量的几何构造直观演示柯西不等式。利用向量、单位向量及夹角等对象,动态展示两向量内积的绝对值小于等于其模长乘积的数学关系。用户可交互观察夹角变化对不等式的影响,是理解代数不等式几何意义的优秀工具。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.288.0" id="4ed08844-4449-4a4f-b176-4dbe09123514" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="950" height="650" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.9978947368421053" 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 | 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="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="948" 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="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="369" window="382,128,754,609" />
<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="948" height="648"/>
<coordSystem xZero="337" yZero="598.8750000000001" scale="50" yscale="49.999999999999986"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="0" 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="true" label="" unitLabel="" tickStyle="1" showNumbers="true" positiveAxis="true" selectionAllowed="false"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" positiveAxis="true" selectionAllowed="false"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="1"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="q">
<value val="3"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="51" b="204" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="9" absoluteScreenLocation="true" width="200" x="29" y="467" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="p">
<value val="4"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="102" g="153" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="9" absoluteScreenLocation="true" width="200" x="29" y="427" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="n">
<value val="5"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="255" g="102" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="9" absoluteScreenLocation="true" width="200" x="29" y="387" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="m">
<value val="2"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="9" absoluteScreenLocation="true" width="200" x="29" y="347" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label ="dom" exp="dom(x, y) = (x > 0.01) ∧ (y > 0.01)"/>
<element type="functionNVar" label="dom">
<show object="true" label="false" ev="4"/>
<objColor r="204" g="255" b="102" alpha="0.45"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
</element>
<command name="PointIn">
<input a0="dom"/>
<output a0="P"/>
</command>
<element type="point" label="P">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<coords x="6.1" y="3.5175" z="1"/>
<pointSize val="8"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="((p * m / x(P)), (n * q / y(P)))"/>
<output a0="v"/>
</command>
<element type="vector" label="v">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="1.3114754098360657" y="4.264392324093817" z="0"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
</element>
<command name="Vector">
<input a0="P"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="6.1" y="3.5175" z="0"/>
<lineStyle thickness="7" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
</element>
<command name="UnitOrthogonalVector">
<input a0="u"/>
<output a0="un"/>
</command>
<element type="vector" label="un">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="-0.4995380274710861" y="0.866291959509204" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
</element>
<element type="numeric" label="r">
<value val="3"/>
<symbolic val="true" />
<show object="false" label="true"/>
<objColor r="102" g="0" b="204" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="5" absoluteScreenLocation="true" width="200" x="37" y="421" fixed="true" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="e" exp="x^(2) + y^(2) = r^(2)" type="conic" />
<element type="conic" label="e">
<show object="false" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="20" typeHidden="1"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-9" A3="0" A4="0" A5="0"/>
<eqnStyle style="specific"/>
</element>
<expression label ="O" exp="(0, 0)" type="point"/>
<element type="point" label="O">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="0" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<expression label="txtv" exp=""\fgcolor{ff0000}{\vec{u}}=(\fgcolor{ff0000}{" + (LaTeX[If[m ≟ 1, "", m + ""]]) + "}\sqrt{a}, \fgcolor{ee6600}{" + (LaTeX[If[n ≟ 1, "", n + ""]]) + "}\sqrt{b})"" />
<element type="text" label="txtv">
<show object="true" label="true" ev="8"/>
<condition showObject="showCoords"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<absoluteScreenLocation x="18" y="8"/>
</element>
<expression label="txtu" exp=""\fgcolor{0000ff}{\vec{v}}=(\frac{\fgcolor{006600}{" + (LaTeX[p]) + "}}{\sqrt{a}},\frac{\fgcolor{0000ff}{" + (LaTeX[q]) + "}}{\sqrt{b}})"" />
<element type="text" label="txtu">
<show object="true" label="true" ev="8"/>
<condition showObject="showCoords"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<absoluteScreenLocation x="23" y="71"/>
</element>
<expression label ="pad" exp="60"/>
<element type="numeric" label="pad">
<value val="60"/>
<symbolic val="true" />
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="1"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="TextAngle">
<input a0="Angle[v]"/>
<output a0="angU"/>
</command>
<element type="numeric" label="angU">
<value val="1.2724356376851418"/>
<symbolic val="true" />
<objColor r="0" g="100" b="0" alpha="0.1"/>
</element>
<command name="Line">
<input a0="O" a1="O + u"/>
<output a0="f"/>
</command>
<element type="line" label="f">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="-3.5175" y="6.1" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
</element>
<command name="OrthogonalLine">
<input a0="O + v" a1="f"/>
<output a0="g"/>
</command>
<element type="line" label="g">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="-6.1" y="-3.5175" z="23"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="g" a1="f"/>
<output a0="A"/>
</command>
<element type="point" label="A">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="140.29999999999998" y="80.9025" z="49.58280624999999"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="RotateText">
<input a0="txtu" a1="angU"/>
<output a0="txtur"/>
</command>
<element type="text" label="txtur">
<symbolic val="true" />
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="7" style="1"/>
<startPoint x="0" y="0" z="1"/>
</element>
<expression label="uw" exp="x(Corner[txtu, 2] - Corner[txtu, 1])" />
<element type="numeric" label="uw">
<value val="NaN"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="uh" exp="y(Corner[txtu, 4] - Corner[txtu, 1])" />
<element type="numeric" label="uh">
<value val="NaN"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="uhr" exp="y(Corner[txtur, 4] - Corner[txtur, 1])" />
<element type="numeric" label="uhr">
<value val="4.1800000000000015"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="uwr" exp="x(Corner[txtur, 2] - Corner[txtur, 1])" />
<element type="numeric" label="uwr">
<value val="2.48"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="RotateText">
<input a0="txtu" a1="angU"/>
<output a0="txtur2"/>
</command>
<element type="text" label="txtur2">
<symbolic val="true" />
<show object="true" label="false" ev="8"/>
<condition showObject="showCoords"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="7" style="1"/>
<startPoint exp="PinU"/>
</element>
<command name="TextPin">
<input a0="O + v" a1="v" a2="uh" a3="pad" a4="uwr" a5="uhr"/>
<output a0="PinU"/>
</command>
<element type="point" label="PinU">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="NaN" y="NaN" z="NaN"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="TextAngle">
<input a0="Angle[u]"/>
<output a0="angV"/>
</command>
<element type="numeric" label="angV">
<value val="0.5230654177647388"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="RotateText">
<input a0="txtv" a1="angV"/>
<output a0="txtvr"/>
</command>
<element type="text" label="txtvr">
<symbolic val="true" />
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="7" style="1"/>
<startPoint x="0" y="0" z="1"/>
</element>
<command name="RotateText">
<input a0="txtv" a1="angV"/>
<output a0="txtvr2"/>
</command>
<element type="text" label="txtvr2">
<symbolic val="true" />
<show object="true" label="false" ev="8"/>
<condition showObject="showCoords"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="7" style="1"/>
<startPoint exp="PinV"/>
</element>
<expression label="vw" exp="x(Corner[txtv, 2] - Corner[txtv, 1])" />
<element type="numeric" label="vw">
<value val="NaN"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="vh" exp="y(Corner[txtv, 4] - Corner[txtv, 1])" />
<element type="numeric" label="vh">
<value val="NaN"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="vhr" exp="y(Corner[txtvr, 4] - Corner[txtvr, 1])" />
<element type="numeric" label="vhr">
<value val="2.840000000000001"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="vwr" exp="x(Corner[txtvr, 2] - Corner[txtvr, 1])" />
<element type="numeric" label="vwr">
<value val="4.04"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="UnitOrthogonalVector">
<input a0="v"/>
<output a0="vn"/>
</command>
<element type="vector" label="vn">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="-0.9558196547449075" y="0.29395371677072896" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
</element>
<command name="If">
<input a0="(v * u) < 0" a1="0" a2="((-sgn((v * un))) * 0.05)"/>
<output a0="offSeg"/>
</command>
<element type="numeric" label="offSeg">
<value val="-0.05"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<element type="boolean" label="showCoords">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="24" y="248"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="顯示向量座標"/>
</element>
<command name="Ray">
<input a0="O" a1="O + (1, sqrt((n * q / ((m * p)))))"/>
<output a0="i"/>
</command>
<element type="ray" label="i">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="-1.3693063937629153" y="1" z="0"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="TextPin">
<input a0="O + u" a1="u" a2="vh" a3="(1.4 * pad)" a4="vwr" a5="vhr"/>
<output a0="PinV"/>
</command>
<element type="point" label="PinV">
<show object="false" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="NaN" y="NaN" z="NaN"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Angle">
<input a0="P" a1="O" a2="O + v"/>
<output a0="theta"/>
</command>
<element type="angle" label="theta">
<angleStyle val="1"/>
<value val="0.7493702199204031"/>
<show object="true" label="false" ev="4"/>
<objColor r="64" g="64" b="64" alpha="0.45"/>
<layer val="1"/>
<labelOffset x="-38" y="-64"/>
<labelMode val="1"/>
<lineStyle thickness="2" type="0" typeHidden="2"/>
<arcSize val="30"/>
<emphasizeRightAngle val="false"/>
</element>
<command name="UnitVector">
<input a0="Vector[(1, sqrt((n * q / ((m * p)))))]"/>
<output a0="dir"/>
</command>
<element type="vector" label="dir">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<coords x="0.5897678246195885" y="0.8075728530872482" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
</element>
<expression label="txtTheta" exp=""\theta""/>
<element type="text" label="txtTheta">
<show object="true" label="false" ev="40"/>
<condition showObject="abs(Angle[v] - Angle[u]) > 10°"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<startPoint exp="(1; (Angle[v] + Angle[u]) / 2)"/>
<labelOffset x="-17" y="-26"/>
</element>
<expression label="text2" exp=""\left| \fgcolor{ff0000}{\vec{u}} \right| \left| \fgcolor{0000ff}{\vec{v}} \right| \cos\theta=\fgcolor{ff0066}{" + (LaTeX[(v * u)]) + "}"" />
<element type="text" label="text2">
<show object="true" label="false" ev="8"/>
<condition showObject="showCoords"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<absoluteScreenLocation x="17" y="177"/>
</element>
<command name="Angle">
<input a0="O" a1="A" a2="O + v"/>
<output a0="α"/>
</command>
<element type="angle" label="α">
<angleStyle val="1"/>
<value val="4.71238898038469"/>
<show object="true" label="false" ev="4"/>
<objColor r="96" g="96" b="96" alpha="0.5"/>
<layer val="1"/>
<labelMode val="1"/>
<lineStyle thickness="1" type="0" typeHidden="2"/>
<arcSize val="15"/>
<selectionAllowed val="false"/>
</element>
<command name="Segment">
<input a0="O + v" a1="A"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="2.63272792026633" y="1.518134501563413" z="-9.926679043627148"/>
<lineStyle thickness="2" type="20" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="O + (offSeg * un)" a1="A + (offSeg * un)"/>
<output a0="segOA"/>
</command>
<element type="segment" label="segOA">
<show object="true" label="false" ev="4"/>
<objColor r="128" g="128" b="128" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="-1.6316644038274866" y="2.8296099113994786" z="0.1633173366287844"/>
<lineStyle thickness="9" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="uv" exp="sqrt(((u * u) * (v * v)))" />
<element type="numeric" label="uv">
<value val="31.41570047925743"/>
<symbolic val="true" />
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="text3" exp=""\left| \fgcolor{ff0000}{\vec{u}} \right| \left| \fgcolor{0000ff}{\vec{v}} \right| = \frac{\fgcolor{ff0066}{" + (LaTeX[(v * u)]) + " }}{\cos\theta}= " + (LaTeX[uv]) + """ />
<element type="text" label="text3">
<show object="true" label="false" ev="8"/>
<condition showObject="showCoords"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<absoluteScreenLocation x="516" y="115"/>
</element>
<expression label="text1" exp=""(\fgcolor{ff0000}{" + (LaTeX[If[m ≟ 1, "", m^(2) + ""]]) + "}a+\fgcolor{ee6600}{" + (LaTeX[If[n ≟ 1, "", n^(2) + ""]]) + "}b) \left(\frac{\fgcolor{006600}{" + (LaTeX[p^(2)]) + " }}{a}+\frac{\fgcolor{0000ff}{" + (LaTeX[q^(2)]) + " }}{b}\right) =\fgcolor{6600ff}{" + (LaTeX[uv^(2)]) + "}"" />
<element type="text" label="text1">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<absoluteScreenLocation x="388" y="8"/>
</element>
<expression label="txU" exp=""\vec{u}""/>
<element type="text" label="txU">
<show object="true" label="false" ev="20"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<startPoint exp="P"/>
<labelOffset x="8" y="-48"/>
</element>
<expression label="txV" exp=""\vec{v}""/>
<element type="text" label="txV">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<startPoint exp="O + v"/>
<labelOffset x="-11" y="-48"/>
</element>
<expression label="text4" exp=""註:座標沒有正常切換時 請拉動下面的滑桿。""/>
<element type="text" label="text4">
<show object="true" label="false" ev="40"/>
<objColor r="102" g="0" b="153" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<font serif="false" sizeM="0.7" size="-5" style="0"/>
<absoluteScreenLocation x="169" y="273"/>
</element>
</construction>
</geogebra>