geometry[conic] - define a conic
|
Calling Sequence
|
|
conic(p, [A, B, C, E, F], n)
conic(p, [dir, fou, ecc], n)
conic(p, eqn, n)
|
|
Parameters
|
|
p
|
-
|
the name of the conic
|
A, B, C, E, F
|
-
|
five distinct points
|
dir
|
-
|
the line which is the directrix of the conic
|
fou
|
-
|
point which is the focus of the conic
|
ecc
|
-
|
a positive number denoting the eccentricity of the conic
|
eqn
|
-
|
the algebraic representation of the conic (i.e., a polynomial or an equation)
|
n
|
-
|
(optional) list of two names representing the names of the horizontal-axis and vertical-axis
|
|
|
|
|
Description
|
|
•
|
A conic p can be defined as follows:
|
–
|
from five distinct points. The input is a list of five points. Note that a set of five distinct points does not necessarily define a conic.
|
–
|
from the directrix, focus, and eccentricity. The input is a list of the form [dir, fou, ecc] where dir, fou, and ecc are explained above.
|
–
|
from its internal representation eqn. The input is an equation or a polynomial. If the optional argument n is not given, then:
|
–
|
if the two environment variables _EnvHorizontalName and _EnvVerticalName are assigned two names, these two names will be used as the names of the horizontal-axis and vertical-axis respectively.
|
–
|
if not, Maple will prompt for input of the names of the axes.
|
•
|
The routine returns a conic which includes the degenerate cases for the given input. The output is one of the following object: (or list of objects)
|
–
|
a point (ellipse: degenerate case)
|
–
|
two parallel lines or a "double" line (parabola: degenerate case)
|
–
|
a list of two intersecting lines (hyperbola: degenerate case)
|
•
|
The information relating to the output conic p depends on the type of output. Use the routine geometry[form] to check for the type of output. For a detailed description of the conic p, use the routine detail (i.e., detail(p))
|
•
|
The command with(geometry,conic) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
define conic c1 from its algebraic representation:
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
>
|
|
>
|
|
| (4) |
>
|
|
ellipse: "the given equation is indeed a circle"
| |
>
|
|
| (5) |
>
|
|
conic: "degenerate case: single point"
| |
degenerate case of an ellipse
>
|
|
| (6) |
>
|
|
conic: "degenerate case: a double line"
| |
degenerate case of a parabola
>
|
|
| (7) |
>
|
|
conic: "degenerate case: two ParallelLine lines"
| |
| (8) |
degenerate case of a parabola
>
|
|
| (9) |
>
|
|
conic: "degenerate case: two intersecting lines"
| |
| (10) |
the degenerate case of a hyperbola
>
|
|
| (11) |
|
|