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


Tip of the Day
Language: SQL
Expertise: Intermediate
Dec 3, 2019

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Finding the TAN of a Given Number

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.

M S Sridhar
 
Thanks for your registration, follow us on our social networks to keep up-to-date