# acos

acos() function is the Standard function available in 200OK.

**Description** : The function fx\_acos computes the arc cosine of a given number in radians, provided that the input falls within the range of -1 to 1. If the input is outside this range, the function returns NULL.

**Syntax**  :  fx\_acos()

**Example** : fx\_acos(0.12) would yield a response of approximately 1.4505064444001086, indicating the arc cosine of 0.12 in radians.

Here we go with simple scenario using the above function.

**Scenario** : A data scientist is processing a large dataset of temperature fluctuations, using a function to obtain the absolute deviation of temperature values from a reference point, facilitating accurate climate trend analysis.

<br>

\
**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/HIRCTfe6OQxnqijKGkcBmJ4JmTvw0U37pk1HSG3yyBW8O7kMFQBJv0Om5aJ9ZOVV-Di4O8iw5PBVeNLuIOCEu8UaJwd-bXAIKBfrHRiFCLC8igMWmX5QfRHTqZeRByMLWV9-m_uCkNpeuvWBg5bvGSc" alt=""><figcaption><p><mark style="color:blue;"><strong>Passing the value inside the function</strong></mark> </p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/kV_z0lYuTrlNxt6LXD3yCBbQ0_z80L6y59Knp2P6d0w46nkKSZk6tqIVskPjYmzEa1w5i7X-NIb8sjWS3NjpfLV7FXyPdGh_nmvQggCGE7mVNo4gOXjmnfZIJWv4bDerdZkWGTR_7p58TuVgeQ1Jyec" alt=""><figcaption><p><strong>Passing the value inside the function using index pattern.</strong></p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/YtiyQxoINIRIvWeoDIxx3Frj9UctaNcSCteez_to67BoQWe016F9o1r96J6DioxlnEQ3rqN6g4W9x4GCKdQrxtlRNilZXhWkhbr_rxlAXjVxK_eMui-sk9Xs2BALRWjVOzKHH8IEKlRO2lK8yUx5CC0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/AnwP4yFQJk042XCEJR3z6wykIj2_1lgXusHRLJb2j8VvBcThURsopLkM1CTHYmRm-rNzhftdnac_CaLtqIYVFru4MNh-zMmGnOPWG62MvPgHr3qPSOMbejS_54e8XHDHcYsk-zbZfQaJd7PpmXq9cok" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/stIvv4Rk53UHtHztfhqayCWlzTas7nyhqZrdn0W5t13yzWEa7vPzv5knYUimGbF7Gbh6PPP3K7iHRgkmJHyssZWHzR6l2mbPAlHU2RWzEbH8RfbKqw-I2b-ZLt-_24KJlrsmbUxaeVX-LO5h6_m78U4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/9m3MRy6xdTdfNcDumF0ePvhTLxXSN3yLKWd8iqVmsr3MEIWagoR3IVHC2trN-OXwSemWILGaqg00GfL2Q6YbIV-O-drUn1NGO9hkPwcoePQrTvDRukVrxeSVHyaSyU6t1hiazBmDeKdCoTlv6fHSU5o" alt=""><figcaption></figcaption></figure>
