Difference between revisions of "Asymptote Command"

From GeoGebra Manual
Jump to: navigation, search
(added examples)
(This syntax is not available in the Graphing and Geometry Apps)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|conic}}
{{command|conic}}
+
; Asymptote( <Conic> )
; Asymptote[ <Hyperbola> ]: Yields both asymptotes of the hyperbola.
+
: Yields both asymptotes of the 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}}
+
:{{example|1=<code>Asymptote(x^2 - y^2 /4 = 1)</code> 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).
+
; Asymptote( <Function> )
:{{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}.}}
+
: 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). '''This syntax is not available in the Graphing and Geometry Apps'''
; Asymptote[ <Implicit Curve> ]: Yields a list containing all the asymptotes of the Implicit Curve.
+
:{{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}''.}}
:{{Example|1=<code>Asymptote[x^3 + y^3 + y^2 - 3 x = 0]</code> returns the list {''x'' + ''y'' = -0.33}.}}
+
; 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}''.}}

Latest revision as of 14:05, 30 January 2019


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). This syntax is not available in the Graphing and Geometry Apps
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