geometry
foci
find the foci of an ellipse or a hyperbola
Calling Sequence
Parameters
Description
Examples
foci(fn, f)
fn
-
(optional) list of two names
f
ellipse or hyperbola
The routine returns a list of two foci of the given ellipse or hyperbola f.
If the first optional argument fn is given, the names of the two foci are the two elements of the list fn.
See help pages for hyperbola and ellipse for definitions of the foci.
Use routine detail for more details on the foci.
The command with(geometry,foci) allows the use of the abbreviated form of this command.
with⁡geometry:
_EnvHorizontalName≔x:_EnvVerticalName≔y:
ellipse⁡e1,2⁢x2+y2−4⁢x+4⁢y=0:
foci⁡e1
foci_1_e1,foci_2_e1
map⁡coordinates,
1,−2−3,1,−2+3
foci⁡f1,f2,e1
f1,f2
See Also
geometry[ellipse]
geometry[HorizontalName]
geometry[hyperbola]
geometry[VerticalName]
Download Help Document