Application of complex number in engineering