Euler's formula
and using Euler's formula