acos()

Calculates the angle whose cosine is the specified number. Inverse operation of cos().

Syntax

acos(x)

Learn more about syntax conventions.

Parameters

Name Type Required Description
x real ✔️ The value used to calculate the arc cosine.

Returns

The value of the arc cosine of x. The return value is null if x < -1 or x > 1.