Demonstrate the power series way of proving Euler formula

Demonstrate the power series way of proving the Euler's formula.