Back to functions

arg


argument

Returns the argument of a complex number.

Usage: nerdamer("arg(z)")


Parameters

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

Returns

Expression

EXAMPLES:
var r = nerdamer('arg(81)');
console.log(r.toString());
var t = nerdamer('arg(5+i)')
console.log(t.toString());
OUTPUT:
Back to functions