ASIN() function

SELECT ASIN( X )
The output is arc sine of X or the value for which SIN() is X

This function takes input in range of -1 to 1, for any other input the output will be NULL.

Let us strat with some known output of Sin.
SELECT ASIN(0);// Output 0
SELECT ASIN(1); // Output is 1.5707963267948966
SELECT ASIN(-2); // Output is NULL
We are getting outputs in radian, so to change the value to degree we will use DEGREES()

ASIN() with DEGREES()

SELECT DEGREES(ASIN(1)); // Ouput is 90
SELECT DEGREES(ASIN(0)); // Output is 0 
SELECT DEGREES(ASIN(-1)); // Output is -90


plus2net.com



Post your comments , suggestion , error , requirements etc here .










We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer