how to calculate complex number - Search