Euler formula for complex number.
Math387
Returns the e^(i*W), using the Euler formula:
e^(i*W) = cos(W) + i*sin(W)
Functions