Apache Tajo - atan2(y,x)



Let us now check the atan2(y/x) function with the following query.

Query

default> select atan2(1.7,0.5) as tangent;

Result

The above query will generate the following result.

tangent 
------------------------------- 
1.2847448850775784 

The output produces inverse tangent value of (y/x). Here, the given Inverse tangent value(1.7/0.5) is 1.2847448.

apache_tajo_math_functions.htm
Advertisements