Open In App

Atn() and Cos() Function in MS Access

Atn() Function :

In MS Access, The Atn() function returns the arctangent of a number. It takes a number as a parameter and it will return the arc tangent of that number. It will help to perform the mathematical operation of trigonometry.



Syntax :

Atn(number)

Example1 –



SELECT Atn(50) AS AtnNum;

Output –

AtnNum
1.55079899282175

Example2 –

SELECT Atn(2) AS AtnNum;

Output –

AtnNum
1.10714871779409 

Cos() Function :

In MS Access, the cos() function returns the cosine of an angle. In this function, we will pass an angle as a parameter and it will return the cosine of that angle. It will also help perform the trigonometry mathematical operation.

Syntax :

Cos(number)

Example1 –

SELECT Cos(45) AS CosNum;

Output –

CosNum
0.52532198881773

Example2 –

SELECT Cos(30) AS CosNum;

Output –

CosNum
0.154251449887584
Article Tags :
SQL