# The Euler identity

#### Proof of the Euler identity using SymPy

We begin by importing some stuff and defining our functions:


```python
import numpy as np
import sympy
print("Using sympy version", sympy.__version__)
sympy.init_session(quiet=True)
```

    Using sympy version 1.3
    


We can cut to the chase by evaluating the equality with `sympy`:


```python
exp(I * pi) + 1 == 0
```




    True



We are done! ■

d306cefea9b4419ff78e9c30f486658fc06d43a4
ipynb
Jupyter Notebook
tex/proofs/euler.ipynb
tagordon/exomoons
37bfed8ca9943b7ca43d85123e7a96c4452000e7
MIT
2018-10-27T20:13:45.000Z
2021-01-20T23:42:09.000Z
tex/proofs/euler.ipynb
tagordon/exomoons
37bfed8ca9943b7ca43d85123e7a96c4452000e7
MIT
2018-10-25T21:33:13.000Z
2019-10-15T15:42:50.000Z
tex/proofs/euler.ipynb
tagordon/exomoons
37bfed8ca9943b7ca43d85123e7a96c4452000e7
MIT
2018-11-08T20:58:33.000Z
2021-04-08T19:21:54.000Z
Qwen/Qwen-72B
1. YES
2. YES