“直線與坐標軸”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
→‎Axes
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{objects|geometric}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{objects|geometric}}
==Lines==
+
== 直線==
You can enter a line as a linear equation in ''x'' and ''y'' or in parametric form into the Input Bar. In both cases previously defined variables (e.g. numbers, points, vectors) can be used within the equation.
+
您可將含有 ''x'' ''y'' 的線性方程式或參數式輸入到指令列,藉此畫出一條直線。之前曾經定義過的變數(例如:數值、點、向量),也可以用在這些代數式之中。
{{note|You can enter a line’s name at the beginning of the input followed by a colon.}}
+
{{note| 您可以在一開始先輸入直線的名稱,接著輸入一個冒號(:),最後再輸入直線的代數式。}}
  
{{example|1= 2D <br/>
+
{{example|1= 平面上的直線 <br/>
* Type in <code>g: 3x + 4y = 2</code> to enter line ''g'' as a linear equation.
+
* 輸入 <code>g: 3x + 4y = 2</code> ,以線性方程式畫出直線 ''g''
* You can enter a line in parametric form thus: <code>g: X = (-5, 5) + t (4, -3)</code>
+
* 您可以參數式輸入一條直線,像是:<code>g: X = (-5, 5) + t (4, -3)</code>
* Define the parameters ''m'' = 2 and ''b'' = -1. Then, you can enter the equation <code>h: y = m*x + b</code> to get a line ''h'' in y-intercept-form.}}
+
* 先定義參數 ''m'' = 2 ''b'' = -1 。接著,您可以輸入斜截式 <code>h: y = m*x + b</code> 畫出一條直線 ''h'' }}
  
  
{{example|1= 3D <br/>
+
{{example|1= 空間中的直線 <br/>
* You can enter a line in parametric form thus:
+
* 您可以參數式輸入,畫出一條直線。下列兩種輸入方式結果相同:
** <code>g: X = (1, 6, 3) + λ (7, -4, 4)</code> ; or via
+
** <code>g: X = (1, 6, 3) + λ (7, -4, 4)</code> 
 
** <code>g: Line[(1, 6, 3), Vector[(7, -4, 4)]]</code>
 
** <code>g: Line[(1, 6, 3), Vector[(7, -4, 4)]]</code>
* You can enter a line as an intersection of 2 planes, by one of the following 3 equivalent input :
+
* 您可以兩面式輸入,畫出兩個平面的交線。下列三種輸入方式結果相同:
 
** <code>IntersectPath[4x+7y=46,y+z=9]</code><br/>
 
** <code>IntersectPath[4x+7y=46,y+z=9]</code><br/>
 
** <code>(4x + 7y = 46, y + z = 9)</code><br/>
 
** <code>(4x + 7y = 46, y + z = 9)</code><br/>
第20行: 第20行:
 
}}
 
}}
  
==Axes==
+
== 坐標軸==
The two coordinate axes are available in commands using the names ''xAxis'' and ''yAxis''.
+
可以將兩個坐標軸以 ''xAxis'' ''yAxis'' 作為名稱,引入到指令內使用。
{{example|1=The command <code>[[PerpendicularLine Command|PerpendicularLine]][A, xAxis]</code> constructs the perpendicular line to the x-axis through a given point A. }}
+
{{example|1= 輸入指令 <code>[[PerpendicularLine_指令|PerpendicularLine]][A, xAxis]</code> 將會畫出通過 ''A'' 點且垂直 ''x'' 軸的直線。}}

2021年6月3日 (四) 03:39的最新版本

Accessories dictionary.png
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版


直线

您可将含有 xy 的线性方程式或参数式输入到指令列,借此画出一条直线。之前曾经定义过的变数(例如:数值、点、向量),也可以用在这些代数式之中。

备注: 您可以在一开始先输入直线的名称,接著输入一个冒号(:),最后再输入直线的代数式。
范例: 平面上的直线
  • 输入 g: 3x + 4y = 2,以线性方程式画出直线 g
  • 您可以参数式输入一条直线,像是:g: X = (-5, 5) + t (4, -3)
  • 先定义参数 m = 2 和 b = -1。接著,您可以输入斜截式 h: y = m*x + b 画出一条直线 h


范例: 空间中的直线
  • 您可以参数式输入,画出一条直线。下列两种输入方式结果相同:
    • g: X = (1, 6, 3) + λ (7, -4, 4)
    • g: Line[(1, 6, 3), Vector[(7, -4, 4)]]
  • 您可以两面式输入,画出两个平面的交线。下列三种输入方式结果相同:
    • IntersectPath[4x+7y=46,y+z=9]
    • (4x + 7y = 46, y + z = 9)
    • 7y = 46 - 4x = 7(9 - z)

坐标轴

可以将两个坐标轴以 xAxisyAxis 作为名称,引入到指令内使用。

范例: 输入指令 PerpendicularLine[A, xAxis] 将会画出通过 A 点且垂直 x 轴的直线。

Comments

取得平面直线一般式的各项系数[编辑]

您可以取出直线 a: 2.2 x + 3.3 y = 4.4 的各项系数。

  • x(a) 传回 x 项系数 2.2
  • y(a) 传回 y 项系数 3.3
  • z(a) 传回常数项 -4.4(因为 GeoGebra 在程式内部其实是将直线储存成一般式 2.2 x + 3.3 y - 4.4 = 0

更多资讯请参阅:Coefficients_指令

© 2024 International GeoGebra Institute