Documentation/Calc Functions/PI

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


    Funktionsnavn:

    PI

    Kategori:

    Matematisk

    Resume:

    Returnerer den tilnærmede værdi af den matematiske konstant π, afrundet til 14 decimalpladser.

    Syntaks:

    PI()

    Returnerer:

    3.14159265358979, som er den tilnærmede værdi af π i radianer, afrundet til 14 decimalpladser.

    Argumenter:

    Ingen

    Yderligere oplysninger:

    • * π er et irrationelt tal, som kan defineres som forholdet mellem cirklens omkreds og dens diameter.
    • Hvis vinklen i grader multipliceres med PI()/180, findes dens korresponderende værdi i radianer.
    • A common use of π is in converting angles between radians and degrees.
      • Multiply the radians by 180/π (approximately 57.295779513) to convert to degrees.
      • Multiply the degrees by π/180 (approximately 0.01745329252) to convert to radians.
    • For more background information about π, visit Wikipedia's Pi page.

    Eksempler:

    Formula Description Returns
    =PI() Here the function returns the value of π to 14 decimal places. 3,14159265358979
    =4*4*PI() Here the formula calculates the area in cm2 of a circle of radius 4 cm. The area of a circle is given by [math]\displaystyle{ \pi\times (radius)^{2} }[/math]. 50,2654824574367

    Beslægtede LibreOffice-funktioner:

    GRADER

    RADIANER

    KVRODPI

    ODF standard:

    Section 6.16.45, part 2

    Tilsvarende Excel-funktioner:

    PI