Difference between revisions of "Asymptote Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
(added examples)
Line 2: Line 2:
 
{{command|conic}}
 
{{command|conic}}
 
; Asymptote[ <Hyperbola> ]: Yields both asymptotes of the hyperbola.
 
; Asymptote[ <Hyperbola> ]: Yields both asymptotes of the hyperbola.
 +
:{{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}}
 
; 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).
 
; 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^3 - 2x^2 - x + 4) / (2x^2 - 2)]</code> returns the list  {''y'' = 0.5''x'' - 1, ''x'' = 1, ''x'' = -1}.}}
 
; Asymptote[ <Implicit Curve> ]: Yields a list containing all the asymptotes of the Implicit Curve.
 
; 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 10:54, 15 June 2013



Asymptote[ <Hyperbola> ]
Yields both asymptotes of the hyperbola.
Example: Asymptote[x^2 - y^2 /4 = 1] returns line a: -2x + y = 0 and line b: -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