hyperbola - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


plottools

  

hyperbola

  

generate 2-D plot object for a hyperbola

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

hyperbola(c, a, b, r, options)

Parameters

c

-

center of symmetry

a, b

-

a^2+b^2=e^2, where e is the eccentricity

r

-

range

options

-

(optional) equations of the form option=value. For a complete list, see plot/options.

Description

• 

The hyperbola command creates a two-dimensional plot data object, which when displayed is a hyperbola whose center of symmetry is at point c, with a2+b2=e2, where e is the eccentricity. For instance, hyperbola([x0, y0], a, b, r1..r2) graphs the equation

x−x02a2−y−y02b2=1

  

from the point x0+a⁢cosh⁡r1,y0+b⁢sinh⁡r1 to x0+a⁢cosh⁡r2,y0+b⁢sinh⁡r2 and from x0−a⁢cosh⁡r1,y0−b⁢sinh⁡r1 to x0−a⁢cosh⁡r2,y0−b⁢sinh⁡r2.

• 

A call to hyperbola produces a plot data object that can be used in a PLOT data structure, or displayed using the plots[display] command.

• 

Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot/options.

Examples

> 

with⁡plottools:

> 

with⁡plots:

> 

eq≔x−x02a2−y−y02b2=1

eq≔x−x02a2−y−y02b2=1

(1)
> 

a≔1:b≔1:x0≔0:y0≔0:

Generate the hyperbola described by the equation above,

> 

h≔hyperbola⁡x0,y0,a,b,−2..2:

> 

display⁡h

which is equivalent to:

> 

implicitplot⁡eq,x=−4..4,y=−4..4

Other forms of hyperbola can be obtained via object transformations, for example, rotate.

> 

display⁡rotate⁡h,π2,rotate⁡h,π4,rotate⁡h,3⁢π4

See Also

plot/options

plot/structure

plots[display]

plots[implicitplot]

plottools

plottools[rotate]