Integral of Taylor expansions



you haven't given enough info, but maybe you should try without ratsimp.
The taylor series should be integrable as a polynomial in s.
 RJF


> -----Original Message-----
> From: maxima-bounces at math.utexas.edu 
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of marco restelli
> Sent: Thursday, April 24, 2008 6:09 AM
> To: maxima at math.utexas.edu
> Subject: Integral of Taylor expansions
> 
> Dear list,
>    I would like to use Taylor expansions to approximate integrals and
> I see the following problem:
> 
> this trivial case works as expected, yielding   p(0) l
> pT : taylor(p(s),s,0,0);
> pT : ratsimp(pT);
> pbar : integrate(pT,s,-l/2,l/2);
> 
> but when I take
> pT : taylor(p(s),s,0,1);
> pT : ratsimp(pT);
> pbar : integrate(pT,s,-l/2,l/2);
> maxima starts computing and never delivers any result. Does anyone
> have a suggestion?
> 
> Thank you!
>    Marco
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>