Documentation/Calc Functions/TAN

From The Document Foundation Wiki
Jump to navigation Jump to search
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:
English • ‎Nederlands • ‎dansk • ‎español • ‎עברית

Template:Documentation/Calc Functions/Func Page Links/da

Funktionsnavn:

TAN

Kategori:

Matematisk

Resume:

Returnerer tangensen af en given vinkel (i radianer)

Syntaks:

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 #VALUE! error.

Yderligere oplysninger:

  • Formlen for en vinkels tangens er:
Tane.png

The formula for the trigonometric tangent of x is:

[math]\displaystyle{ \tan(x)~=~\frac{1}{\cot(x)}~=~\frac{\sin(x)}{\cos(x)} }[/math]

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:

Template:Calc-Formula/da Template:Calc-Description/da Template:Calc-Returns/da
=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

Beslægtede LibreOffice-funktioner:

ARCTAN

ARCTAN2

COS

COT

CSK

SEK

SIN

ODF standard:

Section 6.16.69, Part 2

Tilsvarende Excel-funktioner:

TAN