Difference between revisions of "Asymptote Command"

From GeoGebra Manual
Jump to: navigation, search
(added examples)
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|conic}}
 
{{command|conic}}
; Asymptote[ <Hyperbola> ]: Yields both asymptotes of the hyperbola.
+
; Asymptote[ <Conic> ]
:{{Example|1=<code>Asymptote[x^2 - y^2 /4 = 1]</code> returns line ''a'': -2''x'' + ''y'' = 0 and line ''b'': -2''x'' - ''y'' = 0}}
+
: Yields both asymptotes of the conic.
; Asymptote[ <Function> ]: GeoGebra will attempt to find the asymptotes of the function and return them in a list. It may not find them all, for example vertical asymptotes of non-rational functions such as ln(x).
+
:{{example|1=<code>Asymptote[x^2 - y^2 /4 = 1]</code> returns line ''-2x + y = 0'' and line ''-2x - y = 0''.}}
:{{Example|1=<code>Asymptote[(x^3 - 2x^2 - x + 4) / (2x^2 - 2)]</code> returns the list {''y'' = 0.5''x'' - 1, ''x'' = 1, ''x'' = -1}.}}
+
; Asymptote[ <Function> ]
; Asymptote[ <Implicit Curve> ]: Yields a list containing all the asymptotes of the Implicit Curve.
+
: GeoGebra will attempt to find the asymptotes of the function and return them in a list. It may not find them all, for example vertical asymptotes of non-rational functions such as ln(x).
:{{Example|1=<code>Asymptote[x^3 + y^3 + y^2 - 3 x = 0]</code> returns the list {''x'' + ''y'' = -0.33}.}}
+
:{{example|1=<code>Asymptote[(x^3 - 2x^2 - x + 4) / (2x^2 - 2)]</code> returns the list ''{y = 0.5x - 1, x = 1, x = -1}''.}}
 +
; Asymptote[ <Implicit Curve> ]
 +
: Yields a list containing all the asymptotes of the Implicit Curve.
 +
:{{example|1=<code>Asymptote[x^3 + y^3 + y^2 - 3 x = 0]</code> returns the list ''{x + y = -0.33}''.}}

Revision as of 16:29, 27 August 2013



Asymptote[ <Conic> ]
Yields both asymptotes of the conic.
Example: Asymptote[x^2 - y^2 /4 = 1] returns line -2x + y = 0 and line -2x - y = 0.
Asymptote[ <Function> ]
GeoGebra will attempt to find the asymptotes of the function and return them in a list. It may not find them all, for example vertical asymptotes of non-rational functions such as ln(x).
Example: Asymptote[(x^3 - 2x^2 - x + 4) / (2x^2 - 2)] returns the list {y = 0.5x - 1, x = 1, x = -1}.
Asymptote[ <Implicit Curve> ]
Yields a list containing all the asymptotes of the Implicit Curve.
Example: Asymptote[x^3 + y^3 + y^2 - 3 x = 0] returns the list {x + y = -0.33}.
© 2024 International GeoGebra Institute