Euler's formula
Using Euler's formula this can be written as