Difference between revisions of "Conic Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|conic}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|conic}} | ||
− | ; Conic | + | ; Conic( <Point>, <Point>, <Point>, <Point>, <Point> ) |
:Returns a conic section through the five given points. | :Returns a conic section through the five given points. | ||
− | :{{example|1=<code><nowiki>Conic | + | :{{example|1=<code><nowiki>Conic((0, -4), (2, 4), (3,1), (-2,3), (-3,-1))</nowiki></code> yields ''151x² - 37x y + 72y² + 14x - 42y = 1320 ''.}} |
: {{Note| If four of the points lie on one line, then the conic section is not defined.}} | : {{Note| If four of the points lie on one line, then the conic section is not defined.}} | ||
− | ;Conic | + | ;Conic( <Number a>, <Number b>, <Number c>, <Number d>, <Number e>, <Number f> ) |
:Returns a conic section <math>a\cdot x^2+d\cdot xy+b\cdot y^2+e\cdot x+f\cdot y=-c</math>. | :Returns a conic section <math>a\cdot x^2+d\cdot xy+b\cdot y^2+e\cdot x+f\cdot y=-c</math>. | ||
− | :{{example|1=<code><nowiki>Conic | + | :{{example|1=<code><nowiki>Conic(2, 3, -1, 4, 2, -3)</nowiki></code> yields '' 2x² + 4x y + 3y² + 2x - 3y = 1 ''.}} |
{{Note| See also [[File:Mode conic5.svg|link=|24px]] [[Conic through 5 Points Tool|Conic through 5 Points]] tool and [[Coefficients Command|Coefficients]] command.}} | {{Note| See also [[File:Mode conic5.svg|link=|24px]] [[Conic through 5 Points Tool|Conic through 5 Points]] tool and [[Coefficients Command|Coefficients]] command.}} |
Revision as of 16:29, 4 October 2017
- Conic( <Point>, <Point>, <Point>, <Point>, <Point> )
- Returns a conic section through the five given points.
- Example:
Conic((0, -4), (2, 4), (3,1), (-2,3), (-3,-1))
yields 151x² - 37x y + 72y² + 14x - 42y = 1320 .
- Note: If four of the points lie on one line, then the conic section is not defined.
- Conic( <Number a>, <Number b>, <Number c>, <Number d>, <Number e>, <Number f> )
- Returns a conic section a\cdot x^2+d\cdot xy+b\cdot y^2+e\cdot x+f\cdot y=-c.
- Example:
Conic(2, 3, -1, 4, 2, -3)
yields 2x² + 4x y + 3y² + 2x - 3y = 1 .
Note: See also Conic through 5 Points tool and Coefficients command.