ATAN2

Returns the arc tangent of expression y/x.

Format

ATAN2(y,x)

Description

(1)
A T A N 2 ( y , x ) = { A T A N ( y x )                            x > 0 A T A N ( y x ) + π              y ³ 0 , x < 0 A T A N ( y x ) - π              y < 0 , x < 0 + π 2                               y > 0 , x = 0 - π 2                                y < 0 , x = 0 u n d e f i n e d                    y = 0 , x = 0 } MathType@MTEF@5@5@+= feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqipv0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaKxkcaWGbb GaamivaiaadgeacaWGobGaaGOmamaabmaabaGaamyEaiaacYcacaWG 4baacaGLOaGaayzkaaGaeyypa0ZaaiWaaqaabeqaaiaadgeacaWGub Gaamyqaiaad6eadaqadaqaamaalaaabaGaamyEaaqaaiaadIhaaaaa caGLOaGaayzkaaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGa GaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabcca caqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiai aabccacaqGGaGaaeiiaiaabccacaWG4bGaeyOpa4JaaGimaaqaaiaa dgeacaWGubGaamyqaiaad6eadaqadaqaamaalaaabaGaamyEaaqaai aadIhaaaaacaGLOaGaayzkaaGaey4kaSIaeqiWdaNaaeiiaiaabcca caqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiai aabccacaqGGaGaamyEaiaacolacaaIWaGaaiilaiaadIhacqGH8aap caaIWaaabaGaamyqaiaadsfacaWGbbGaamOtamaabmaabaWaaSaaae aacaWG5baabaGaamiEaaaaaiaawIcacaGLPaaacaGGTaGaeqiWdaNa aeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccaca qGGaGaaeiiaiaabccacaqGGaGaamyEaiabgYda8iaaicdacaGGSaGa amiEaiabgYda8iaaicdaaeaacqGHRaWkdaWcaaqaaiabec8aWbqaai aaikdaaaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeii aiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGa GaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabcca caqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaWG5bGaeyOpa4 JaaGimaiaacYcacaWG4bGaeyypa0JaaGimaaqaaiaac2cadaWcaaqa aiabec8aWbqaaiaaikdaaaGaaeiiaiaabccacaqGGaGaaeiiaiaabc cacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeii aiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGa GaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabcca caqGGaGaamyEaiabgYda8iaaicdacaGGSaGaamiEaiabg2da9iaaic daaeaacaWG1bGaamOBaiaadsgacaWGLbGaamOzaiaadMgacaWGUbGa amyzaiaadsgacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccaca qGGaGaaeiiaiaabccacaqGGaGaaeiiaiaabccacaqGGaGaaeiiaiaa bccacaqGGaGaaeiiaiaabccacaWG5bGaeyypa0JaaGimaiaacYcaca WG4bGaeyypa0JaaGimaaaacaGL7bGaayzFaaaaaa@DD38@

Arguments

x
Any valid function expression.

Example

<Reference_Variable
     id                  = "1"
     label               = "ATAN2 Example"
     type                = "EXPRESSION"
     expr                = "ATAN2(AY(569,193),AX(569,193)"
/>