\(\text{arccos}\)

You can use the \(\text{arccos}\) function to calculate the arccos or inverse of the cosine function. The function uses the underlying platform specific C++ implementation.

You can use the \arccos backslash command to insert this function.

The following variants of this function are available:

  • \(\text{complex } \text{arccos} \left ( \text{<value>} \right )\)

Where <value> can be any basic type.

Note that run-time type conversion allows the result of this function to be assigned to any basic type provided the returned value is compatible with that type.

The example below how you can use this function:

\[a = \frac{\text{arccos } \frac{1}{\sqrt{2}}}{\pi}\]
\[\text{a = 0.25}\]