Difference between revisions of "PerpendicularLine Command"
From GeoGebra Manual
(removed unnecessary tags and elements in the examples) |
|||
Line 3: | Line 3: | ||
;PerpendicularLine[ <Point>, <Line> ] | ;PerpendicularLine[ <Point>, <Line> ] | ||
:Creates a line through the point perpendicular to the given line. | :Creates a line through the point perpendicular to the given line. | ||
− | :{{example|1=<div>Let | + | :{{example|1=<div>Let ''c'': -3''x'' + 4''y'' = -6 be a line and ''A'' = (-2, -3) a point. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d'': -4''x'' - 3''y'' = 17.</div>}} |
;PerpendicularLine[ <Point>, <Segment> ] | ;PerpendicularLine[ <Point>, <Segment> ] | ||
:Creates a line through the point perpendicular to the given segment. | :Creates a line through the point perpendicular to the given segment. | ||
− | :{{example|1=<div>Let | + | :{{example|1=<div>Let ''c'' be the segment between the two points <code><nowiki>A = (-3, 3)</nowiki></code> and <code><nowiki>B = (0, 1)</nowiki></code>. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d: -3x + 2y = 15''.</div>}} |
;PerpendicularLine[ <Point>, <Vector> ] | ;PerpendicularLine[ <Point>, <Vector> ] | ||
:Creates a line through the point perpendicular to the given vector. | :Creates a line through the point perpendicular to the given vector. | ||
− | :{{example|1=<div>Let | + | :{{example|1=<div>Let ''u'' be a vector between two points: ''u'' = ''Vector''[ (5, 3), (1, 1) ] and A = (-2, 0) a point. <code><nowiki>PerpendicularLine[ A, u ]</nowiki></code> yields the line ''c: 2x + y = -4''.</div>}} |
Revision as of 11:41, 14 November 2013
- PerpendicularLine[ <Point>, <Line> ]
- Creates a line through the point perpendicular to the given line.
- Example:Let c: -3x + 4y = -6 be a line and A = (-2, -3) a point.
PerpendicularLine[ A, c ]
yields the line d: -4x - 3y = 17.
- PerpendicularLine[ <Point>, <Segment> ]
- Creates a line through the point perpendicular to the given segment.
- Example:Let c be the segment between the two points
A = (-3, 3)
andB = (0, 1)
.PerpendicularLine[ A, c ]
yields the line d: -3x + 2y = 15.
- PerpendicularLine[ <Point>, <Vector> ]
- Creates a line through the point perpendicular to the given vector.
- Example:Let u be a vector between two points: u = Vector[ (5, 3), (1, 1) ] and A = (-2, 0) a point.
PerpendicularLine[ A, u ]
yields the line c: 2x + y = -4.
Note: See also Perpendicular Line tool.
Following text is about a feature that is supported only in GeoGebra 5.0.
Note: From GeoGebra 5, this command will work in 3D as well |