Collections:
ACOS() - Arccosine Trigonometric Value
How to calculate the arccosine value of a given value using the ACOS() function?
✍: FYIcenter.com
ACOS(X) is a MySQL built-in function that
calculates the arccosine value of a given value.
For example:
SELECT ACOS(0), ACOS(1), ACOS(2); -- +--------------------+---------+---------+ -- | ACOS(0) | ACOS(1) | ACOS(2) | -- +--------------------+---------+---------+ -- | 1.5707963267948966 | 0 | NULL | -- +--------------------+---------+---------+
Reference information of the ACOS() function:
ACOS(X): val Returns the arc cosine of X, that is, the value whose cosine is X. Returns NULL if X is not in the range -1 to 1. Arguments, return value and availability: X: Required. The input value. val: Return value. The arccosine value of the input value. Available since MySQL 4.0.
Related MySQL functions:
⇒ ASIN() - Arcsine Trigonometric Value
2023-11-15, 1169🔥, 0💬
Popular Posts:
What are binary literals supported in SQL Server Transact-SQL? Binary literals in Transact-SQL are s...
How to run Queries with SQL Server Management Studio Express in SQL Server? 1. Launch and connect SQ...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...
How to put statements into a statement block in SQL Server Transact-SQL? You can put statements into...