Documentation/Calc Functions/SEK

    From The Document Foundation Wiki
    This page is a translated version of the page Documentation/Calc Functions/SEC and the translation is 6% complete.
    Outdated translations are marked like this.


    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(Number)

    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 SEK reports a #VÆRDI! 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, SEK does not report errors for arguments close to these values. You should be aware that SEK will return large positive or negative results for odd multiples of π/2.

    Figuren herunder illustrerer funktionen SEK.

    SEC function

    Eksempler:

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

    Beslægtede LibreOffice-funktioner:

    COS

    COT

    CSK

    SIN

    TAN

    ODF standard:

    Tilsvarende Excel-funktioner:

    SEC since v.2013.