$$\sum_{n=1}^{\infty} \frac {x^{2n -1}} {2n!}$$
for the algorithm i use == $d=\frac {a_{n}} {a_n - 1}$
And other hint that I have is the for $\sum_{n=1}^{\infty} \frac {x^{2n}} {n!}$ ; $d = \frac{x}{n} $
So my question is that what will be d = ? for $\sum_{n=1}^{\infty} \frac {x^{2n -1}} {2n!}$
I think you want a recursive relation for your algorithm or a similar thing, so perhaps $$d=\dfrac{a_{n}}{a_{n-1}}=\dfrac{x^2}{n}$$ works, or want to have $d=s_{k}-s_{k-1}=\dfrac{x^{2k-1}}{2k!}$ where $$s_k=\sum_{n=1}^{k} \frac {x^{2n -1}} {2n!}$$ is partial sum of the series. In such case the relation is $$s_{k}=\dfrac{x^{2k-1}}{2k!}+s_{k-1}$$ where $s_1=\dfrac{x}{2}$.