Documentation/Calc Functions/SEK

From The Document Foundation Wiki
Jump to navigation Jump to search
This page is a translated version of the page Documentation/Calc Functions/SEC and the translation is 19% complete.
Outdated translations are marked like this.
Other languages:
English • ‎Nederlands • ‎dansk • ‎español • ‎עברית

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

Funktionsnavn:

SEK

Kategori:

Matematisk

Resume:

Returnerer sekanten til en given vinkel (i radianer). Sekanten til en vinkel er lig med 1 divideret med vinlens cosinus.

Syntaks:

SEK(tal)

Returnerer:

Returnerer den (trigonometriske) sekant til tallet, tallet i radianer.

Argumenter:

Tallet er et reelt tal eller en reference til den celle, der indeholder det tal, hvis sekant-værdi skal beregnes.

  • If Number is non-numeric, then SEC reports a #VALUE! error.

Yderligere oplysninger:

  • En vinkels sekant svarer til 1 divideret med vinklens cosinus.
  • Til at indsætte en vinkel i grader, enten multiplicerer du vinklen med PI()/180 eller konverterer vinklen til radianer.
  • Formlen for funktionen SEK er:
Sece.png

The formula for the trigonometric secant of x is:

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

Mathematically, the secant 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, SEC does not report errors for arguments close to these values. You should be aware that SEC will return large positive or negative results for odd multiples of π/2.

Figuren herunder illustrerer funktionen SEK.

SEC function

Eksempler:

Template:Calc-Formula/da Template:Calc-Description/da Template:Calc-Returns/da
=SEC(1) Trigonometric secant of 1 radian. 1,85081571768093
=SEC(D1) where cell D1 contains the number -2. Trigonometric secant of -2 radians. -2,40299796172238
=SEC(PI()/4) Trigonometric secant of π/4 radians. 1,4142135623731
=SEC(RADIANS(60)) Trigonometric secant of 60°, after first converting the angle from degrees to radians. 2

Beslægtede LibreOffice-funktioner:

COS

COT

CSC

SIN

TAN

ODF standard:

Tilsvarende Excel-funktioner:

SEK