I
I
igoodmood2015-11-13 20:10:36
Python
igoodmood, 2015-11-13 20:10:36

How to write e^xi?

How to write " e^x i" in program code

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Ocelot, 2015-11-13
@Ocelot

If these are complex numbers, then there is a cmath library for them. Your expression will be written as cmath.exp(x*1j)

I
iViolent, 2015-11-14
@iViolent

depending on where, in C# you can use pow(exp,x*i)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question