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, 877🔥, 0💬
Popular Posts:
How To Generate CREATE VIEW Script on an Existing View in SQL Server? If you want to know how an exi...
How To Convert Numeric Expression Data Types using the CAST() Function in SQL Server Transact-SQL? I...
How To Set Up SQL*Plus Output Format in Oracle? If you want to practice SQL statements with SQL*Plus...
What are DDL (Data Definition Language) statements for tables in SQL Server? DDL (Data Definition La...
How To Convert Numeric Values to Character Strings in MySQL? You can convert numeric values to chara...