Substituting Numerical Values in Power Series
Use eval to substitute a numerical value for a
variable in a power series. For example, here's a way to obtain numerical
approximations of %e from the Taylor series expansion of exp(x).
First you create the desired Taylor expansion.
Then you evaluate the series at the value 1.0. The result is a sequence
of the partial sums.