Difference between revisions of "Midpoint Command"
From GeoGebra Manual
m (added syntax for quadrics) |
Noel Lambert (talk | contribs) (example for quadric in 'en' :-)) |
||
Line 14: | Line 14: | ||
;Midpoint[ Quadric> ] | ;Midpoint[ Quadric> ] | ||
:Returns the midpoint of the given quadric (e.g. sphere, cone, etc.) | :Returns the midpoint of the given quadric (e.g. sphere, cone, etc.) | ||
− | :{{example| 1=<div><code><nowiki> | + | :{{example| 1=<div><code><nowiki>Midpoint[x^2 + y^2 + z^2 = 1]</nowiki></code> yields ''(0, 0, 0)</div>}} |
{{Note|1=See also [[File:Mode midpoint.svg|link=|24px]] [[Midpoint or Center Tool|Midpoint or Center]] tool.}} | {{Note|1=See also [[File:Mode midpoint.svg|link=|24px]] [[Midpoint or Center Tool|Midpoint or Center]] tool.}} |
Revision as of 14:04, 24 August 2015
- Midpoint[ <Segment> ]
- Returns the midpoint of the segment.
- Example:Let
s = Segment[(1, 1), (1, 5)]
.
Midpoint[s]
yields (1, 3).
- Midpoint[ <Conic> ]
- Returns the center of the conic.
- Example:
Midpoint[x^2 + y^2 = 4]
yields (0, 0).
- Midpoint[ <Interval> ]
- Returns the midpoint of the interval (as number).
- Example:
Midpoint[2 < x < 4]
yields 3.
- Midpoint[ <Point>, <Point> ]
- Returns the midpoint of two points.
- Example:
Midpoint[(1, 1), (5, 1)]
yields (3, 1).
- Midpoint[ Quadric> ]
- Returns the midpoint of the given quadric (e.g. sphere, cone, etc.)
- Example:
Midpoint[x^2 + y^2 + z^2 = 1]
yields (0, 0, 0)
Note: See also Midpoint or Center tool.