Complex numbers
Imaginary number
# Assume that
i² = −1
# therefore the imaginary unit is
i = √(-1)
Powers of Imaginary Unit
:
The pattern is from i to i⁴
, then it repeats.
To evaluate iⁿ
, just to get the remainder n % 4
and see…