grzegorzmazur / yacas

Computer calculations made easy
http://www.yacas.org
GNU Lesser General Public License v2.1
120 stars 23 forks source link

manipulating e^(i * pi) ? #322

Open LewisHoff opened 3 years ago

LewisHoff commented 3 years ago

I get a (false,i^i) when trying to solve e^(i * pi) + 1 = 0 using OldSolve to get steps to a solution I know exists of i^i = e^(pi/2) either side evaluates to 2.07 . i is the sqrt of -1 e is exponential base pi is π. ? Is there a tutorial for complex powers of complex numbers ? Thank You. Lewis

grzegorzmazur commented 3 years ago

Hi,

In> Exp(I*Pi) + 1
Out> 0

and

In> I^I
Out> Exp(-Pi/2)

although the latter result is let's say controversial (it's ok to calculate powers of the complex numbers when the power is an integer, otherwise things get messy).

Sorry it took so long, Grzesiek