I have the following series:
f[x_] := Sin[x]
n := 50
Ni3[x_] := Sum[(f[k]*(-1)^k)/((x - k)*Gamma[k + 1]*Gamma[n - k + 1]), {k, 0, n}]/
Sum[(-1)^k/((x - k)*Gamma[k + 1]*Gamma[n - k + 1]), {k, 0, n}]
Plot[{Ni3[x], f[x]}, {x, -7, 7}, AspectRatio -> Automatic, PlotRange -> 10]
At number of terms n below 40 the plot gives what is expected. But when increasing it above 50 the plot becomes corrupted. The setting $MinPrecision
does not affect the result. The series is proven to converge to $f(x)=\sin(x)$.
WorkingPrecision
inPlot
, e.g.WorkingPrecision -> 60
. $\endgroup$