Difference between revisions of "Vertex Command"

From GeoGebra Manual
Jump to: navigation, search
(add another example with list)
(another example with parabola)
Line 6: Line 6:
  
 
{{betamanual|version=4.2|
 
{{betamanual|version=4.2|
;Vertex[ <Inequality> ] : Returns the points of intersection of the line borders
+
;Vertex[ <Inequality> ] : Returns the points of intersection of the borders
 
:{{example|1=<div>
 
:{{example|1=<div>
 
::<code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1) ;
 
::<code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1) ;
::<code> {Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)} </nowiki>  </div>}}.}}
+
::<code> {Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)} </nowiki>
 +
::<code>{Vertex[(y > x²) ∧ (y < x)]}</codereturns list <nowiki>  {(0, 0), (1, 1)}  </nowiki></div>}}.}}
  
 
; Vertex[Polygon]: Returns (all) vertices of the polygon.
 
; Vertex[Polygon]: Returns (all) vertices of the polygon.

Revision as of 10:35, 26 September 2012


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]}.
© 2024 International GeoGebra Institute