Previous Up Next

2.11.3  Imaginary part of a complex number : im imag

im (or imag) takes as argument a complex number (resp a point A).
im (or imag) returns imaginary part of this complex number (resp the projection on the y axis of A).
Input :

im(3+4*i)

Output :

4

Previous Up Next