You may have wondered what Euler's Identity means

I hate to break it to you but it just means

Equating respective real and imaginary parts,

which you probably already knew.
From the first part,

That's in the principal value range of cosine.

Answer: π