Mathematica 9 is now available
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

Re: Maclaurin Series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48156] Re: Maclaurin Series
  • From: "Carlo Teubner" <.Teubner at t-online.de (FirstLetterOfMyFirstName)>
  • Date: Fri, 14 May 2004 20:59:14 -0400 (EDT)
  • Organization: Oxford University, England
  • References: <c81h52$4qb$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

try

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

You need to do this since Series[] gives you a SeriesData object which needs
to be converted to a normal expression.

Carlo


"Xiaolei Li" <xli10 at uiuc.edu> schrieb im Newsbeitrag
news:c81h52$4qb$1 at smc.vnet.net...
> 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: Re: Maclaurin Series
  • Next by Date: Re: Maclaurin Series
  • Previous by thread: Re: Maclaurin Series
  • Next by thread: Re: Maclaurin Series