Difference between revisions of "Center Command"

From GeoGebra Manual
Jump to: navigation, search
m
(command syntax: changed [ ] into ( ))
 
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>
 
{{command|conic|US_version=Center|non-US_version=Centre}}
 
{{command|conic|US_version=Center|non-US_version=Centre}}
; Center[ <Conic> ]
+
; Center( <Conic> )
 
:Returns the center of a circle, ellipse, or hyperbola.
 
:Returns the center of a circle, ellipse, or hyperbola.
:{{Example|1= <code>Center[x^2 + 4 y^2 + 2x - 8y + 1 = 0]</code><br/> {{langnote|non-US|2=<code>Centre[x^2 + 4 y^2 + 2x - 8y + 1 = 0]</code>}}<br/> returns point ''A = (-1, 1)''}}
+
:{{Example|1= <code>Center(x^2 + 4 y^2 + 2x - 8y + 1 = 0)</code><br/> {{langnote|non-US|2=<code>Centre(x^2 + 4 y^2 + 2x - 8y + 1 = 0)</code>}}<br/> returns point ''A = (-1, 1)''}}
 
{{Note|1= See also [[File:Mode midpoint.svg|link=|20px]] [[Midpoint or Center Tool|Midpoint or Center]] {{langnote|non-US|[[Midpoint or Center Tool|Midpoint or Centre]]}} tool .}}
 
{{Note|1= See also [[File:Mode midpoint.svg|link=|20px]] [[Midpoint or Center Tool|Midpoint or Center]] {{langnote|non-US|[[Midpoint or Center Tool|Midpoint or Centre]]}} tool .}}
  
;Center[ <Quadric> ]
+
;Center( <Quadric> )
 
:Creates the center of a quadric (e.g. sphere, cone, etc.).
 
:Creates the center of a quadric (e.g. sphere, cone, etc.).
:{{example| 1=<div><code><nowiki>Center[x^2 + (y-1)^2 + (z-2)^2 = 1]</nowiki></code> yields ''(0, 1, 2)''</div>}}
+
:{{example| 1=<div><code><nowiki>Center(x^2 + (y-1)^2 + (z-2)^2 = 1)</nowiki></code> yields ''(0, 1, 2)''</div>}}

Latest revision as of 16:26, 4 October 2017


Center( <Conic> )
Returns the center of a circle, ellipse, or hyperbola.
Example: Center(x^2 + 4 y^2 + 2x - 8y + 1 = 0)
(Gb.png, Au.png: Centre(x^2 + 4 y^2 + 2x - 8y + 1 = 0))
returns point A = (-1, 1)
Note: See also Mode midpoint.svg Midpoint or Center (Gb.png, Au.png: Midpoint or Centre) tool .
Center( <Quadric> )
Creates the center of a quadric (e.g. sphere, cone, etc.).
Example:
Center(x^2 + (y-1)^2 + (z-2)^2 = 1) yields (0, 1, 2)
© 2024 International GeoGebra Institute