MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE : Maclaurin Series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48137] RE : [mg48114] Maclaurin Series
  • From: "Florian Jaccard" <florian.jaccard at eiaj.ch>
  • Date: Fri, 14 May 2004 20:58:52 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello !

Use " = " instead of " := " .
And use Normal !

flt[x_] = Normal[Series[f1[x], {x, 0, 10}]]

Meilleures salutations
 
F.Jaccard


-----Message d'origine-----
De : Xiaolei Li [mailto:xli10 at uiuc.edu] 
Envoyé : vendredi, 14. mai 2004 06:12
À : mathgroup at smc.vnet.net
Objet : [mg48114] Maclaurin Series

hi,

i have some function defined in f1.  i'd like to define a new function,
f1t, that is the Maclaurin expansion of f1.  when i do something like:

	Series[f1[x], {x, 0, 10}]

it gives me the correct expansion.  but how do i define f1t?  i tried:

	f1t[x_] := Series[f1[x], {x, 0, 10}]

that doesn't work because it evaluates f1[x] before giving it to
Series[].  i also tried something like:

	f1t[x_] := Evaluate[ Series[f1[x], {x, 0, 10}] ]

but that didn't work either.  i'm a mathematica n00b.  any help is
greatly appreciated.  thx.

-- 
Xiaolei Li        |       xli10 at uiuc.edu       |        www.xiaolei.org




  • Prev by Date: setdirectory doesn't work.anymore
  • Next by Date: Re: Maclaurin Series
  • Previous by thread: Re: setdirectory doesn't work.anymore
  • Next by thread: AppellF1 Question