# sympy.

**sympy** is a system for symbolic maths in python. It doesn't just compute, it also differentiates, integrates
and automates common calculus steps. The documentation for it can be found here.

**Episode Notes**

The code for this video is listed below.

```
import sympy as sp
x = sp.symbols("x")
fx = x + x ** 3 - sp.sin(x)
sp.integrate(fx, x)
sp.integrate(fx, (x, 1, 3))
sp.printing.jscode(sp.integrate(fx, x))
sp.printing.jscode(sp.integrate(fx, x))
```

Feedback? See an issue? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.