# Funktionsreferenz

ACos

Calculates the arcCosine of a number.

ACos ( expression )

Parameter

expression | Any value between -1 and 1 inclusive.

Bemerkungen

ACos(x) is mathematically defined only for -1 < x < 1, so ACos tends to return -1.#IND for other values of x.

Siehe auch

Sin, Cos, Tan, ASin, ATan

Beispiel

$x = ACos(0.5)
$pi = 3.14159265358979
$radToDeg = 180 / $pi
$y = ACos(-1) * $radToDeg ;arcCosine of -1 returns 180°