Previous Topic: SumNext Topic: Today


Tangent

The tangent functions return the tangent of a numeric value that represents an angle in either degrees or radians.

Syntax:

►►─┬─ TAND ────────────┬─ (value) ────────────────────────────────────────────►◄
   ├─ TANDEG ──────────┤
   └─ TANGENT-DEGREES ─┘

►►─┬─ TANR ────────────┬─ (value) ────────────────────────────────────────────►◄
   ├─ TANRAD ──────────┤
   └─ TANGENT-RADIANS ─┘

Invocation names:

TAND              TANR
TANDEG            TANRAD
TANGENT-DEGREES   TANGENT-RADIANS

Parameters:

(value)

Specifies the numeric value representing the angle, in degrees or radians, whose tangent is calculated.

The following rules apply to using value:

Example:

This example calculates the tangent of 60 (in degrees):

compute 'tangent' = tand(60)

  TANGENT = 1.7321