Can i calculate exp(1+2j) in python?
exp(1+2j) Traceback (most recent call last): File \"\", line 1, in TypeError: can\'t conve
You may want to import e from the math module to do this.
e
For example:
>>> from math import e >>> print e ** (1+2j) (-1.1312043837568135+2.4717266720048188j)