Dapatkan sudut bilangan kompleks
=IMARGUMENT(inumber)
| Parameter | Deskripsi |
|---|---|
inumber |
The complex number in the form "x+yi". |
The Excel IMARGUMENT function returns the angle of a complex number measured in radians. For example, given the complex number "3+4i" the function ret
=IMARGUMENT("3+4i") // returns 0.927295218
To convert the angle to degrees, use the DEGREES function.
=DEGREES(IMARGUMENT(COMPLEX(3,4))) // returns 53.13°
The IMARGUMENT function always returns angles in the range from -π to π radians. For the complex number "-5-5i" the function returns the angle -3/4 π.
=IMARGUMENT(COMPLEX(-5, -5)) // returns -3/4π
For complex numbers that lie on the negative real axis, the function returns π radians.
=IMARGUMENT(COMPLEX(-5, 0)) // returns π
In other words, the range excludes -π and includes π. Given a complex number just below the negative real axis, the function returns an angle really c
=IMARGUMENT(COMPLEX(-5, -0.01)) // returns -3.131592987