Re: How come doesn't this work?

*To*: mathgroup at smc.vnet.net*Subject*: [mg75698] Re: How come doesn't this work?*From*: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>*Date*: Wed, 9 May 2007 04:18:44 -0400 (EDT)*Organization*: Uni Leipzig*References*: <f1phau$i6i$1@smc.vnet.net>*Reply-to*: kuska at informatik.uni-leipzig.de

Hi, it can't work, because you have not given a number n so you have to define Grafico[n_] := Plot[{F, Taylor[n]} // Evaluate, {x, -Pi, Pi}, DisplayFunction -> $DisplayFunction] and type Grafico[4] or with Mathematica 6.0 Manipulate[ Plot[{F, Taylor[n]} // Evaluate, {x, -Pi, Pi}], {n, 0, 64, 1}] Regards Jens Anolethron wrote: > I know I have to put Evaluate In but it doesn't work still. > Taylor[n_] := Normal[Series[ArcTan[x], {x, 0, n}]] > > F = ArcTan[x] > Grafico[n_] = > Plot[{F, Taylor[n]} // Evaluate, {x, -Pi, Pi}, > DisplayFunction -> $DisplayFunction] > > >