Difference between revisions of "Tangent Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
(command syntax: changed [ ] into ( )) |
||
Line 2: | Line 2: | ||
; Tangent( <Point>, <Conic> ) | ; Tangent( <Point>, <Conic> ) | ||
: Creates (all) tangents through the point to the conic section. | : Creates (all) tangents through the point to the conic section. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Tangent((5, 4), 4x^2 - 5y^2 = 20)</nowiki></code> yields ''x - y = 1''.}} |
; Tangent( <Point>, <Function> ) | ; Tangent( <Point>, <Function> ) | ||
: Creates the tangent to the function at ''x = x(A)''. | : Creates the tangent to the function at ''x = x(A)''. | ||
: {{Note| ''x(A)'' is the ''x''-coordinate of the given point ''A''.}} | : {{Note| ''x(A)'' is the ''x''-coordinate of the given point ''A''.}} | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Tangent((1, 0), x^2)</nowiki></code> yields ''y = 2x - 1''.}} |
; Tangent( <Point on Curve>, <Curve> ) | ; Tangent( <Point on Curve>, <Curve> ) | ||
: Creates the tangent to the curve in the given point. | : Creates the tangent to the curve in the given point. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Tangent((0, 1), Curve(cos(t), sin(t), t, 0, π))</nowiki></code> yields ''y = 1''.}} |
; Tangent( <x-Value>, <Function> ) | ; Tangent( <x-Value>, <Function> ) | ||
: Creates the tangent to the function at ''x-Value''. | : Creates the tangent to the function at ''x-Value''. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Tangent(1, x^2)</nowiki></code> yields ''y = 2x - 1''.}} |
; Tangent( <Line>, <Conic> ) | ; Tangent( <Line>, <Conic> ) | ||
: Creates (all) tangents to the conic section that are parallel to the given line. | : Creates (all) tangents to the conic section that are parallel to the given line. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Tangent(y = 4, x^2 + y^2 = 4)</nowiki></code> yields ''y = 2'' and ''y = -2''.}} |
; Tangent( <Circle>, <Circle> ) | ; Tangent( <Circle>, <Circle> ) | ||
: Creates the common tangents to the two Circles (up to 4). | : Creates the common tangents to the two Circles (up to 4). | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Tangent(x^2 + y^2 = 4, (x - 6)^2 + y^2 = 4)</nowiki></code> yields ''y = 2'', ''y = -2'', ''1.49x + 1.67y = 4.47'' and ''-1.49x + 1.67y = -4.47''.}} |
;Tangent( <Point>, <Spline> ) | ;Tangent( <Point>, <Spline> ) | ||
:Creates the tangent to the spline in the given point. | :Creates the tangent to the spline in the given point. | ||
− | :{{example|1= | + | :{{example|1=Let ''A = (0, 1)'', ''B = (4, 4)'' and ''C = (0, 4)''. <code><nowiki>Tangent(A, Spline({A, B, C}))</nowiki></code> yields line ''a'': ''y'' = ''0.59x + 1''.}} |
{{Note| See also [[File:Mode tangent.svg|link=|24px]] [[Tangents Tool|Tangents]] tool.}} | {{Note| See also [[File:Mode tangent.svg|link=|24px]] [[Tangents Tool|Tangents]] tool.}} |
Revision as of 10:42, 11 October 2017
- Tangent( <Point>, <Conic> )
- Creates (all) tangents through the point to the conic section.
- Example:
Tangent((5, 4), 4x^2 - 5y^2 = 20)
yields x - y = 1.
- Tangent( <Point>, <Function> )
- Creates the tangent to the function at x = x(A).
- Note: x(A) is the x-coordinate of the given point A.
- Example:
Tangent((1, 0), x^2)
yields y = 2x - 1.
- Tangent( <Point on Curve>, <Curve> )
- Creates the tangent to the curve in the given point.
- Example:
Tangent((0, 1), Curve(cos(t), sin(t), t, 0, π))
yields y = 1.
- Tangent( <x-Value>, <Function> )
- Creates the tangent to the function at x-Value.
- Example:
Tangent(1, x^2)
yields y = 2x - 1.
- Tangent( <Line>, <Conic> )
- Creates (all) tangents to the conic section that are parallel to the given line.
- Example:
Tangent(y = 4, x^2 + y^2 = 4)
yields y = 2 and y = -2.
- Tangent( <Circle>, <Circle> )
- Creates the common tangents to the two Circles (up to 4).
- Example:
Tangent(x^2 + y^2 = 4, (x - 6)^2 + y^2 = 4)
yields y = 2, y = -2, 1.49x + 1.67y = 4.47 and -1.49x + 1.67y = -4.47.
- Tangent( <Point>, <Spline> )
- Creates the tangent to the spline in the given point.
- Example: Let A = (0, 1), B = (4, 4) and C = (0, 4).
Tangent(A, Spline({A, B, C}))
yields line a: y = 0.59x + 1.
Note: See also Tangents tool.