Function reference · Trigonometry
tan
Computes the tangent of an angle in radians.
Nerdamer returns exact values for supported special angles, simplifies odd symmetry, and rejects points where tangent is undefined.
Examples
These examples use Nerdamer Notation.
Use an exact special angle.
tan(pi/4) // → 1
Keep a symbolic angle.
tan(x)Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
tan(arg1)
nerdamer.tan
Call the operation through the default nerdamer import.
nerdamer.tan(x: ExpressionInput): Expression
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | The angle in radians. |
Returns
Expression — The tangent of `x`.
