I'm trying to calculate $e$ to a certain number of digits. The Maclaurin Series expansion of $\displaystyle e^x = \sum_{n=0}^\infty \frac{x^n}{n!}$. When $x = 1$ we can approximate the value of $e$ by evaluating $\displaystyle\sum_{n=0}^m\frac1{n!}$. How can I find the error in the approximation when I compute the sum to $m$? If I take the output from the series, how many digits (truncated) of my approximation to $e$ are correct if I evaluate it to $m$ terms?
In general, how can we find the error when evaluating such a series?
Another good series, Brother's Formula (converges to $e$ faster than the one noted earlier):
$$\sum_{n=0}^\infty \frac{2n+2}{(2n+1)!}$$
Edit: To find the digits that are correct, add the upper bound for the error to the estimate and the digits before the first digit that changed are correct. For example, let's say that we have found $3.1234122$ as an estimate to some series. Let's say that we compute the error to be less than $0.0001879$. To find the digits that are correct in the estimate:
$$3.1234122 + 0.0001879 = 3.1236001$$ Thus we can see that the digits that we can be sure to be correct are $3.123$ so the first 4 digits of the number are $3.123$.
I've written another answer on this subject for Taylor series, and use $e^x$ as an example.
For Brother's formula, I've never seen it before but we can use some standard tricks to represent it.
I can first define $f(x) = (e^x - e^{-x})/2$ to cancel out all of the even terms out of the Taylor series for $e^x$:
$$ f(x) = \sum_{n=0}^{+\infty} \frac{x^{2n+1}}{(2n+1)!} $$
If you're savvy, you might recognize this (either the series or the definition of $f(x)$) as the hyperbolic sine function: $f(x) = \sinh x$.
A common trick is to differentiate the series to bring the exponent on $x$ out as a coefficient. But this series is not quite right. Define
$$ g(x) = x f(x) = \sum_{n=0}^{+\infty} \frac{x^{2n+2}}{(2n+1)!} $$
Now, define
$$ h(x) = g'(x) = \sum_{n=0}^{+\infty} \frac{(2n+2) x^{2n+1}}{(2n+1)!} $$
So, we can apply the ideas of estimating the error of a Taylor series towards the calculation of $h(1)$, where
$$ h(x) = \sinh x + x \cosh x = \frac{1}{2} \left( e^x - e^{-x} + x e^x + x e^{-x} \right) $$
Or, you might analyze the error on the Taylor series for $\sinh x$ and $\cosh x$ individually, and then combine them into an analysis of $h(x)$.