ATAN2 - Returning the Arctangent of X and Y Coordinates

  • Last update:  2023-07-14
  • Overview

    Grammar

    ATAN2(x_num, y_num)

    Returns the arctangent of X and Y coordinates. The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and the point  (x_num, y_num).

    Parameter 1

    x_num

    The x-coordinate of the point.

    Parameter 2

    y_num

    The y-coordinate of the point.

    Notes

    • The function supports two numerical parameters.

    • A positive result represents a counterclockwise angle from the x-axis; a negative result represents a clockwise angle. ATAN2(a,b)=ATAN(b/a), except when a equals 0. If both x_num and y_num are 0, ATAN2 returns the *DIV/0! error value. To express the returned angle in degrees, multiply the result by 180/PI(). The returned value is expressed in radians between -pi and pi, excluding -pi.

    Example

    FormulaResultNotes
    ATAN2(-2,2)2.3561944901923453*pi/4 radians
    ATAN2(2,2)0.785398163pi/4 radian
    ATAN2(-2,2)*180/PI()135135 degrees


    Attachment List


    Theme: Advanced Data Analyis
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭

    反馈已提交

    网络繁忙