Solution (source code)

= Solution

For a <polynomial> of degree $d$, Taylor expansion about $x_0$ terminates: $P(x_0+h)=\sum_{n=0}^dP^{(n)}(x_0)h^n/n!$.