dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Tip: Finding the TAN of a Given Number

MySQL provides numerous mathematical calculations that can be computed with inbuilt functions. Learn how to find the TAN of a number.


advertisement

MySQL provides numerous mathematical calculations that can be computed with inbuilt functions.

In order to find the TAN of a number, we can use the following:

Query:

SELECT TAN(400);

Sample Output:

+---------------------+
| TAN                 |
+---------------------+
| 1.6198844291169272  |
+---------------------+

On similar lines, you can also check SINE and COS functions as well.

 

Visit the DevX Tip Bank

 



   
Sridhar M S. is a Java developer from Bangalore, India. He holds a master's degree in Computer Science.
Thanks for your registration, follow us on our social networks to keep up-to-date