Documentation/Calc Functions/ACOS/cs
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Název funkce:
ACOS
Kategorie:
Matematické
Shrnutí:
Calculates the inverse trigonometric cosine (arccosine or arccos) of a real number. The value returned is the principal value and lies in the range [0,π] radians.
Syntaxe:
ACOS(Number)
Vrátí:
Returns a real number in the range [0,π] that is the inverse trigonometric cosine of Number in radians.
Argumenty:
Number is a real number in the range [-1, 1], or a reference to a cell containing that number, whose inverse trigonometric cosine is to be calculated.
- If Number is non-numeric, then ACOS reports a #VALUE! error.
- If Number lies outside the range [-1, 1], then ACOS reports a #NUM! error.
Další detaily:
- To return the angle in degrees, use the DEGREES function.
- Alternatively multiply by 180/PI() to convert the result from radians to degrees.
The formula for the inverse trigonometric cosine of x is:
[math]\displaystyle{ \arccos(x) ~=~ \frac {\pi} {2} ~-~ \sum_{n=0}^{\infty } \left ( \frac{(2n)!}{2^{2n}(n!)^2(2n+1)} \right )x^{2n+1} }[/math]
Příklady:
Vzorec | Popis | Vrátí |
---|---|---|
=ACOS(−1) | Inverse trigonometric cosine of -1. | 3,14159265358979 (π) |
=ACOS(D1) where cell D1 contains the number 0.5. | Inverse trigonometric cosine of 0.5. | 1,0471975511966 (π/3) |
=DEGREES(ACOS(0,5)) | Inverse trigonometric cosine of 0.5, converted to degrees. | 60 |
=ACOS(−0,5)*180/PI() | Inverse trigonometric cosine of -0.5, converted to degrees. | 120 |
=DEGREES(ACOS(COS(RADIANS(60))) | Úhel 60° se převede na radiány, vezme se jeho kosinus, pak se vypočítá inverzní kosinus této hodnoty a nakonec se výsledek převede zpět na stupně. | 60 |
Související funkce LibreOffice:
ODF standard:
Související (nebo podobné) funkce Excelu:
ACOS