MathGroup Archive 2005

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

Search the Archive

Re: general nth term of series


Hi Ash,
simply remember your math course:
n-th term = (1/n!) n-thederivative(f) (x-x0)^n

therefore, if f is an expression in x and we want the n-th term of the 
taylor series around x0 we may say:

TaylorTerm[f_, n_, x_, x0_] := (1/n!)(x - x0)^n (D[f, {x, n}] /. x -> x0)

Daniel

n00dle0 at yahoo.com wrote:
> Hi,
> 
> Is there a way in mathematica to obtain the general term of a taylor
> series expansion?
> 
> \!\(G[u_, x_] = 1\/v\((1 - 2*x*u + u\^2)\)\)
> 
> Series[G[u, 0], {u, 0, 8}]
> 
> 
> Thanks,
> Ash
> 


  • Prev by Date: Re: Notebook for Borel-Tanner Distribution
  • Next by Date: Re: exponential diophantine equations
  • Previous by thread: Re: general nth term of series
  • Next by thread: Re: general nth term of series