Differentiation in sum



Hi everybody,

I'm very new to Maxima and symbolic computations at all, so please,
don't make laugh of me if my question is trivial or stupid :)

I have a simple polynomial function y:tpsum(i=0, N, w_i*x^i)
Is it possible to differentiate by w_1, w_2, w_j symbols? I'm getting
'0' for result of diff(y, w_1). That's definitely not the 'x' I was
hoping to obtain.

Thank you in advance,

Michael Korbakov