Milan Lukic wrote: > I apologize. > > In haste, I made a typing error, and then I have been away from > computer for hours. > > What I meant was, > > realpart(nusum(exp(%i*k*x),k,1,N)); > > A dose of public humiliation helps! > > Milan Lukic > thank you all. This expression does work. raju