posting solution ..

\lim_{x\to 0}\left(x\sum_{i=1}^k\left[\dfrac{i}{x}\right]\right) = ??
Here [x] denotes the greatest integer function and k is a natural number.
one addtional question related to this one....
wat abt the limit if x-> infinity.
hmmm, looks like my question was tougher than prophet sir's question!!!
[11][5]
that was not among the options which i gave, sir.....
but, is this question really < jee level??