- Picture and text skills
- Case
Returns the arctangent of the given X and Y coordinate values. The angle value of the arctangent is equal to the X-axis and the straight line passing through the origin and the given coordinate point (X coordinate, Y coordinate)
The angle between. The result is expressed in radians and is between -pi and pi (excluding -pi).
SyntaxATAN2 (X coordinate, Y coordinate) X coordinate The X coordinate of the point. Y coordinate Y coordinate of the point.
Explanation A positive result indicates a counterclockwise rotation from the X-axis, and a negative result indicates a clockwise rotation from the X-axis. ATAN2(a, b) is equal to ATAN(b/a) unless a is zero. If the X coordinate and Y coordinate are both zero, ATAN2 returns the error value #Div/0!. To express the arctangent in degrees, multiply the result by 180/PI() or use the DEGREES function.
Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/jie-gou-san-jiao-han-shu-ATAN2-zai-zuo-biao-fan-san-jiao-han-shu-ji-suan-zhong-de-ying-yong.html
评论列表(196条)
测试