atan2/3—return the arc tangent of the ratio of two numbers
The atan2/3
function returns the arc tangent of the ratio of $NUMBER1
and $NUMBER2
in the $RESULT
argument.
$RESULT=atan2($NUMBER1,$NUMBER2)
atan2/3 arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Input | INTEGER|REAL | Specifies the first (integer or real) value of the ratio |
| Input | INTEGER|REAL | Specifies the second (integer or real) value of the ratio |
| Output | REAL | Angle for which the ratio of |
atan2/3 example
$RIGHTANGLE = atan2( 1 , 0 );
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.