Re: Generating a function from a series
- To: mathgroup at smc.vnet.net
- Subject: [mg65385] Re: Generating a function from a series
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Wed, 29 Mar 2006 06:34:30 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 3/28/06 at 4:05 AM, spam at spam.invalid (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 ? Use Normal, i.e., In[1]:= sf = Series[f*x, {x, 0, 3}]; fs[y_] = sf /. x -> y Out[2]= SeriesData[y, 0, {f}, 1, 4, 1] In[3]:= Normal[%] Out[3]= f*y -- To reply via email subtract one hundred and four