# Documentation/Calc Functions/TAN

This page is a translated version of the page Documentation/Calc Functions/TAN and the translation is 17% complete.
Outdated translations are marked like this.
Other languages:

TAN

Matematisk

## Resume:

Returnerer tangensen af en given vinkel (i radianer)

TAN(Number)

## Returnerer:

Returnerer den (trigonometriske) tangens af tallet, vinklen i radianer. Den resulterende værdi spænder fra -∞ til +∞, dvs. (-∞,+∞).

## Argumenter:

Tallet er det reelle tal, eller en reference til en celle, der indeholder tallet, som er vinklen i radianer, hvis tangens-værdi skal beregnes.

• If Number is non-numeric, then TAN reports a #VÆRDI! error.

## Yderligere oplysninger:

• Formlen for en vinkels tangens er:

The formula for the trigonometric tangent of x is:

$\displaystyle{ \tan(x)~=~\frac{1}{\cot(x)}~=~\frac{\sin(x)}{\cos(x)} }$

Mathematically, the tangent of any odd multiple of π/2, i.e. {......-3π/2, -π/2, π/2, 3π/2.....} is undefined. However, because of the inherent inaccuracy in representing π numerically, TAN does not report errors for arguments close to these values. You should be aware that TAN will return large positive or negative results for odd multiples of π/2.

Figuren herunder illustrerer funktionen TAN.

Funktionen TAN

## Eksempler:

Formel Beskrivelse Returns
=TAN(1) Trigonometric tangent of 1 radian. 1,5574077246549
=TAN(D1) where cell D1 contains the number -0.5. Trigonometric tangent of -½ radian. 0,54630248984379
=TAN(PI()/4) Trigonometic tangent of π/4 radians. 1
=TAN(RADIANER(45)) Trignometric tangent of 45°, after first converting the angle from degrees to radians. 1
=GRADER(ARCTAN(TAN(RADIANER(60))) An angle of 60° is converted to radians, its tangent is taken, then the inverse tangent of that value is calculated, and finally the result is converted back to degrees. 60

TAN