devxlogo

Finding the TAN of a Given Number

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.

devx-admin

Share the Post: