https://www.ime.usp.br/~song/mac5710/slides/01complex.pdf