Back to functions

imagpart


imaginary part

Returns the imaginary of a complex number.

Usage: nerdamer("imagpart(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('imagpart(81+5*b*i)');
console.log(r.toString());
var t = nerdamer('imagpart(5+i)')
console.log(t.toString());
OUTPUT:
Back to functions