# A simple SymPy example

First we import SymPy and initialize printing:


```
from sympy import init_printing
from sympy import *
 init_printing()
```

Create a few symbols:


```
x,y,z = symbols('x y z')
```

Here is a basic expression:


```
e = x**2 + 2.0*y + sin(z); e
```


```
diff(e, x)
```


```
integrate(e, z)
```


```

```

9ffa91d615b39222afea6502ae01745da5742570
ipynb
Jupyter Notebook
ServidorPython/python32_web/Lib/site-packages/nbconvert/tests/files/notebook1.ipynb
mak213k/Servidor_automatizado_python
4403ef8027a2f814220baacc95856cf5fbf01d21
MIT
2015-07-26T00:00:17.000Z
2022-02-24T18:30:04.000Z
ServidorPython/python32_web/Lib/site-packages/nbconvert/tests/files/notebook1.ipynb
mak213k/Servidor_automatizado_python
4403ef8027a2f814220baacc95856cf5fbf01d21
MIT
2020-03-24T18:07:06.000Z
2022-03-12T00:12:27.000Z
ServidorPython/python32_web/Lib/site-packages/nbconvert/tests/files/notebook1.ipynb
mak213k/Servidor_automatizado_python
4403ef8027a2f814220baacc95856cf5fbf01d21
MIT
2015-07-24T19:45:08.000Z
2021-11-01T14:54:56.000Z
Qwen/Qwen-72B
1. YES
2. YES