Back to functions

atan2


arctangent 2

Returns the four-quadrant inverse of tangent.

Usage: nerdamer("atan2(x, y)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

EXAMPLES:
var r = nerdamer('atan2(0, 1)').evaluate();
console.log(r.text());
var t = nerdamer('atan2(-1, 2)').evaluate()
console.log(t.text());
OUTPUT:
Back to functions