Collections:
SIN() - Sine Trigonometric Value
How to calculate the sine trigonometric value of a given angle using the SIN() function?
✍: FYIcenter.com
SIN(X) is a MySQL built-in function that
calculates the sine trigonometric value of a given angle in radians.
For example:
SELECT SIN(0), SIN(1.57), SIN(3.14); -- +--------+-----------------------+---------------------+ -- | SIN(0) | SIN(1.57) | SIN(3.14) | -- +--------+-----------------------+---------------------+ -- | 1 | 0.0007963267107332633 | -0.9999987317275395 | -- +--------+-----------------------+---------------------+
Reference information of the SIN() function:
SIN(X): val Returns the sine of X, where X is given in radians. Arguments, return value and availability: X: Required. The input angle in radians. val: Return value. The sine of X. Available since MySQL 4.0.
Related MySQL functions:
2023-11-15, 1218🔥, 0💬
Popular Posts:
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
What Are Bitwise Operations in SQL Server Transact-SQL? Bitwise operations are binary operations per...
What Happens If the UPDATE Subquery Returns Multiple Rows in MySQL? If a subquery is used in a UPDAT...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...