So:
E[max(x_1,...,x_n)]=\int_0^k \! max(x_1,...,x_n)\frac{1}{k} \, dx=\frac{1}{k}\int_0^k \!max(x_1,...,x_n)\, dx
Is this correct?
Now I have a problem. Since the "max" is also a random variable, for which I don't know the density function. How do I integrate this?