Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Maclaurin Series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48114] Maclaurin Series
  • From: Xiaolei Li <xli10 at uiuc.edu>
  • Date: Fri, 14 May 2004 00:12:15 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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: got "Map" to work finally.
  • Next by Date: Re: Drawing a globe, with countries and great circle routes
  • Previous by thread: Re: got "Map" to work finally.
  • Next by thread: Re: Maclaurin Series