Difference between revisions of "Vertex Command"
From GeoGebra Manual
(removed betamanual template) |
|||
Line 10: | Line 10: | ||
{{Note|1=To get vertices of the polygon / conic as [[Lists|list]], use <code>{Vertex[t]}</code>.}} | {{Note|1=To get vertices of the polygon / conic as [[Lists|list]], use <code>{Vertex[t]}</code>.}} | ||
− | + | ;Vertex[ <Inequality> ]:Returns the points of intersection of the borders | |
− | :{{example|1=<br><code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1)<br><code>{Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)}</nowiki><br><code>Vertex[(y > x²) ∧ (y < x)]</code> returns two points (0, 0) and (1, 1)<br><code>{Vertex[(y > x²) ∧ (y < x)]}</code> returns list <nowiki> {(0, 0), (1, 1)}.</nowiki> | + | :{{example|1=<br><code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1)<br><code>{Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)}</nowiki><br><code>Vertex[(y > x²) ∧ (y < x)]</code> returns two points (0, 0) and (1, 1)<br><code>{Vertex[(y > x²) ∧ (y < x)]}</code> returns list <nowiki> {(0, 0), (1, 1)}.</nowiki>}} |
Revision as of 22:54, 5 January 2013
- Vertex[ <Conic> ]
- Returns (all) vertices of the conic section.
- Vertex[ <Polygon> ]
- Returns (all) vertices of the polygon.
- Vertex[ <Polygon>, <Number n> ]
- Returns n-th vertex of the polygon.
Note: To get vertices of the polygon / conic as list, use
{Vertex[t]}
.- Vertex[ <Inequality> ]
- Returns the points of intersection of the borders
- Example:
Vertex[(x + y < 3) && (x - y > 1)]
returns point (2,1){Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}
returns list {(2, 1), (5, -2), (-1, -2)}Vertex[(y > x²) ∧ (y < x)]
returns two points (0, 0) and (1, 1){Vertex[(y > x²) ∧ (y < x)]}
returns list {(0, 0), (1, 1)}.