ATAN2
The ATAN2
function in Google Sheets returns the angle between the x-axis and a line segment from the origin (0,0) to a specified coordinate pair (x
,y
), in radians.
Function Syntax and Parameters
Syntax: ATAN2(x, y)
Parameters:
x
: The x-coordinate of the specified point.y
: The y-coordinate of the specified point.
Step-by-Step Tutorial
- Using
ATAN2
function:- Example:
=ATAN2(3, 4)
- Result:
0.643501109 rad
- Example:
Use Cases and Scenarios
- Geometry: Calculate the angle between two points on a Cartesian plane.
- Robotics: Determine the angle of rotation for a robot to reach a specific point.