Re: why won't this work??
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: why won't this work??
- From: a_rubin at dsg4.dse.beckman.com (arthur rubin)
- Date: Fri, 3 Apr 92 07:32:59 PST
antonyc at cco.caltech.edu (Antony Chan) writes:
>i was wondering why this doesn't work:
>Plot[Table[Normal[Series[Sin[x],{x,0,i}]],{i,1,10,2}],{x,-10,10}]
>without the Plot[], it generates the right series, but it gives
>errors trying to plot. additionally, if I type in the list of
>series it gives me, it works fine.
>(btw, Mma 2.0 for msdos 386/387)
Try "Evaluate"ing ("Release"ing in V 1.2) the "Table", as:
In[2]:= Plot[Evaluate[Table[Normal[Series[Sin[x],{x,0,i}]],{i,1,10,2}]],{x,-10,10}]
Out[2]= -Graphics-