You can use the \(\text{arcsec}\) function to calculate the arcsec or inverse of the secant function. The function uses the underlying platform specific C++ trigonometric functions.

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

The following variants of this function are available:

  • \(\text{complex } \text{arcsec} \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 shows you can use this function:

\[a = \frac{\text{arcsec } \left ( \sqrt{2} \right ) }{\pi}\]
\[\text{a = 0.25}\]