Syntax

atan2 Y,X

Definition and Usage

Returns the arctangent of Y/X in the range -PI to PI.

Return Value

  • arctangent of Y/X in the range -PI to PI.

Example

Following is the piece of code, copy and paste this code into a file and verify the result.
This will produce following result

What Do You Think on This ? Say Here