# Sympy


```python
import sympy as sp

# See: http://docs.sympy.org/latest/tutorial/printing.html
sp.init_printing()
```

See:
* http://docs.sympy.org/latest/tutorial/
* http://docs.sympy.org/0.7.0/tutorial.html

## Live shell

http://live.sympy.org/

## Make symbols

Make one symbol:


```python
x = sp.symbols("x")
```

Make several symbols at once:


```python
x, y, z = sp.symbols("x y z")
```

## Main symbols


```python
sp.pi
```


```python
sp.I
```


```python
sp.oo
```

## Main functions


```python
sp.sqrt(x)
```


```python
x**2
```

The natural logarithm function `ln`:


```python
sp.log(x)
```


```python
sp.exp(x)
```

### Trigonometric functions


```python
sp.cos(x)
```


```python
sp.sin(x)
```


```python
sp.tan(x)
```


```python
sp.cosh(x)
```


```python
sp.sinh(x)
```


```python
sp.tanh(x)
```


```python
sp.acos(x)
```


```python
sp.asin(x)
```


```python
sp.atan(x)
```


```python
sp.acosh(x)
```


```python
sp.asinh(x)
```


```python
sp.atanh(x)
```

b191a8e8c248e6fddd7fcaab35e0ed2d83be9329
ipynb
Jupyter Notebook
nb_dev_python/python_sympy_functions_and_constants_en.ipynb
jdhp-docs/python-notebooks
91a97ea5cf374337efa7409e4992ea3f26b99179
MIT
2017-05-03T12:23:36.000Z
2020-10-26T17:30:56.000Z
nb_dev_python/python_sympy_functions_and_constants_en.ipynb
jdhp-docs/python-notebooks
91a97ea5cf374337efa7409e4992ea3f26b99179
MIT
nb_dev_python/python_sympy_functions_and_constants_en.ipynb
jdhp-docs/python-notebooks
91a97ea5cf374337efa7409e4992ea3f26b99179
MIT
2020-10-26T17:30:57.000Z
2020-10-26T17:30:57.000Z
Qwen/Qwen-72B
1. YES
2. YES