integral over a finite sum with unknown upper limit



On Fri, 2006-06-30 at 11:56 +0200, i_inbox at tn-home.de wrote:
> I would like to get
> 
> sum( q[k]/(k+1), k, 1, n )
> 
> out of the input
> 
> integrate( sum( q[k]*u[k](s), k, 1, n ), s, 0, 1) 
why not
(%i7) sum( integrate(q[k]*s^k, s,0,1), k, 1, n );
(%o7) 'sum(q[k]/(k+1),k,1,n)
?
Jaime