Re: Generating a function from a series

*To*: mathgroup at smc.vnet.net*Subject*: [mg65381] Re: [mg65354] Generating a function from a series*From*: Pratik Desai <pratikd at wolfram.com>*Date*: Wed, 29 Mar 2006 06:34:21 -0500 (EST)*References*: <200603280905.EAA26312@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Geico Caveman wrote: > How does one generate a function from a series ? > > For example : > > sf=Series[f(x),{x,0,3}]; > fs[y_]=sf/.x->y > > Now this leaves that pesky O(()^4) term in the function definition, > rendering the function useless for plots etc. How do I get rid of it ? > One can use Normal In[1]:= Series[f[x],{x,0,3}]//Normal//InputForm Out[1]//InputForm= f[0] + x*Derivative[1][f][0] + (x^2*Derivative[2][f][0])/2 + (x^3*Derivative[3][f][0])/6 Hope this helps Pratik Desai Wolfram Research Tech Support

**References**:**Generating a function from a series***From:*Geico Caveman <spam@spam.invalid>