欧拉公式
and using Euler's formula to convert to exponentials,