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 · nerdamer API

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

NameTypeDescription
xExpressionInputThe angle in radians.

Returns

Expression — The tangent of `x`.

Browse the nerdamer API →

← Back to Reference