1

This script computes the formal series expansion of a mathematical function on the command line using the python module swiginac, an interface to the CAS Ginac. Typical invocation in a linux terminal looks like

```
$ serexp.py -n 7 "log(1+x)*(1+x+x**2)**(-1)"
1*x+(-3/2)*x**2+5/6*x**3+5/12*x**4+(-21/20)*x**5+7/15*x**6+Order(x**7)
```

As far as I know, swiginac does not work in windows, so use a virtual (k)ubuntu machine in this case.