Have you tried
realpart(nusum(%i*j*x,j,1,N));
Milan
Kamaraju Kusumanchi [02/06/04 14:45 -0400]:
> Hi all
> I am interested in evaluating summation involving trigonometric terms
> using maxima. For example
>
> sum(cos(j/N), j, 1, N)
>
> Maxima does not give the simplified answer but gives expression
> involving summation sign. How to get the simplified result?
>
> I read the manual and came across simpsum : true flag. But this does not
> simplify the above expression. simpsum : true works only for Riemann
> kind of sums.
>
> Any ideas how to extend the sum function to trignometric terms also?
>
> thanks
> raju
>
> --
> Home page: http://www.people.cornell.edu/pages/kk288/index.html
> Fluid's group: http://groups.yahoo.com/group/flumech/
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima