About 33,700 results
Open links in new tab
  1. atan2 - Wikipedia

    atan2 (y, x) returns the angle θ between the positive x -axis and the ray from the origin to the point (x, y), confined to (−π, π]. In computing and mathematics, the function atan2 is the 2- argument arctangent.

  2. atan2 - Four-quadrant inverse tangent - MATLAB - MathWorks

    P = atan2(Y,X) returns the four-quadrant inverse tangent (tan -1) of Y and X, which must be real. The atan2 function follows the convention that atan2(x,x) returns 0 when x is mathematically zero (either …

  3. Online calculator: atan2

    The calculator displays atan2 function result in degrees, radians and graphically.

  4. What is the difference between atan and atan2 in C++?

    Nov 12, 2008 · C++ atan2(y, x) will give us the value of angle α in radians. atan is used if we only know or are interested in y/x not y and x individually. So if p = y/x then to get α we'd use atan(p).

  5. Math.atan2 () - JavaScript - MDN

    Dec 29, 2025 · The Math.atan2() method measures the counterclockwise angle θ, in radians, between the positive x-axis and the point (x, y). Note that the arguments to this function pass the y-coordinate …

  6. std::atan2, std::atan2f, std::atan2l - cppreference.com

    1-3) Computes the arc tangent of y / x using the signs of arguments to determine the correct quadrant. The library provides overloads of std::atan2 for all cv-unqualified floating-point types as the type of …

  7. Confusion about atan vs atan2 - Mathematics Stack Exchange

    Feb 29, 2024 · Also, about atan2, my understanding is that the tan function doesn't have information about the sign of cos and sin, so it can't know if the angle comes from the first or third quadrant if the …

  8. ATAN2 function calculator and graph - MedCalc Manual

    ATAN2 (y, x) returns the arc tangent of the two numbers x and y. It is similar to calculating the arc tangent of y / x, except that the signs of both arguments are used to determine the quadrant of the …

  9. JavaScript Math atan2 () Method - W3Schools

    The Math.atan2() method returns the arctangent of the quotient of its arguments, as a numeric value between PI and -PI radians. The number returned represents the counterclockwise angle in radians …

  10. Math.Atan2 (Double, Double) Method (System) | Microsoft Learn

    Returns the angle whose tangent is the quotient of two specified numbers. The y coordinate of a point. The x coordinate of a point. An angle, θ, measured in radians, such that tan (θ) = y / x, where (x, y) is …