All Questions
2 questions
0
votes
1
answer
190
views
Solving a polynomial with NumPy
I'm trying to do something that I thought would be very straightforward but somehow I'm struggling.
I have a time series and I want to extrapolate it, assuming a linear trend, to forecast when will it ...
5
votes
1
answer
2k
views
Rational functions in Python
I would like use Python to verify the following identities:
$ \frac{1}{1-z} = 1 + z + z^2 + z^3 + \dots $
$ \frac{1}{1-z - z^2} = 1 + z + 2z^2 + 3z^3 + \dots $
$ q \prod_{n \geq 1} (1 - q^n)^{24} = ...