Collections:
ATAN() - Arctangent Trigonometric Value
How to calculate the arctangent value of a given value using the ATAN() function?
✍: FYIcenter.com
ATAN(X) is a MySQL built-in function that
calculates the arctangent value of a given value.
For example:
SELECT ATAN(0), ATAN(1), ATAN(2); -- +---------+--------------------+--------------------+ -- | ATAN(0) | ATAN(1) | ATAN(2) | -- +---------+--------------------+--------------------+ -- | 0 | 0.7853981633974483 | 1.1071487177940906 | -- +---------+--------------------+--------------------+
Reference information of the ATAN() function:
ATAN(Y, X): val Returns the arc tangent of Y, if X is not provided. It becomes a synonym for ATAN2(Y, X), if X is provided. Arguments, return value and availability: Y: Required. The input value. X: Optional. If provided, ATAN(X, Y) is a synonym for ATAN2(Y, X). val: Return value. The arctangent value of the input value. Available since MySQL 4.0.
Related MySQL functions:
⇒ ATAN2() - 2-Argument Arctangent
⇐ ASIN() - Arcsine Trigonometric Value
2023-11-15, 1206🔥, 0💬
Popular Posts:
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...
How REAL and FLOAT Literal Values Are Rounded in SQL Server Transact-SQL? By definition, FLOAT(n) sh...
How To Query Tables and Loop through the Returning Rows in MySQL? The best way to query tables and l...
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...