I want to write function expand[f]
which gives the Taylor series expansion of $f(x)$ up to $O(x^4)$ in $\TeX$ form, as well as return the radius of convergence.
I have written:
expand = Function[f, TeXForm[Series[f, {x, 0, 3}]]
SumConvergence[f, x]];
but SumConvergence
requires the general term of a sequence, so the syntax written there is incorrect. Is there a command in stead of SumConvergence
which will allow me to do this?