Collections:
TAN() - Tangent Trigonometric Value
How to calculate the tangent trigonometric value of a given angle using the TAN() function?
✍: FYIcenter.com
TAN(X) is a MySQL built-in function that
calculates the tangent trigonometric value of a given angle in radians.
For example:
SELECT TAN(0.1), TAN(1.57), TAN(3.14); -- +---------------------+--------------------+------------------------+ -- | TAN(0.1) | TAN(1.57) | TAN(3.14) | -- +---------------------+--------------------+------------------------+ -- | 0.10033467208545055 | 1255.7655915007897 | -0.0015926549364072232 | -- +---------------------+--------------------+------------------------+
Reference information of the TAN() function:
TAN(X): val Returns the tangent of X, where X is given in radians. Arguments, return value and availability: X: Required. The input angle in radians. val: Return value. The tangent of X. Available since MySQL 4.0.
Related MySQL functions:
⇒ TRUNCATE() - Truncating to Decimal Place
2023-11-14, 575🔥, 0💬
Popular Posts:
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
How Fixed Length Strings Are Truncated and Padded in SQL Server Transact-SQL? When the length of the...
How Fixed Length Strings Are Truncated and Padded in SQL Server Transact-SQL? When the length of the...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...