
Bessel
This animation shows successive Taylor polynomial approximations to the Bessel function of the first kins $J_0$. Specifically, the Taylor series for $J_0$ is
$J_0(x) = \sum_{n=0}^\infty \frac{(-1)^n}{4^n (n!)^2} x^{2n}$,
and this animations shows the first 51 partial sums.
Here's the code:
With[{cols = RGBColor /@ {"#28CC9E", "#132F2B"}},
Manipulate[
Plot[
Evaluate@Table[Sum[(-1)^n/(4^n (n!)^2) x^(2 n), {n, 0, k}], {k, 0, m}], {x, -30, 30},
PlotRange -> {{-29.9, 29.9}, {-1.2, 1.2}},
Background -> cols[[-1]],
PlotStyle -> Directive[CapForm[None], cols[[1]], Opacity[.35], Thickness[.003]],
Axes -> False, ImageSize -> 600],
{m, -1, 50, 1}]
]
(Incidentally, the CapForm[None] bit in the code is due to what seems to be an implementation bug in Plot: the graph of a function in Plot seems to be built out of several concatenated curves using the default CapForm option, but when PlotStyle includes Opacity[a] for some $a<1$, the concatenated curves have an overlap which shows up as a bright spot unless you include CapForm[None] in PlotStyle.)