If $X_1,\ldots,X_n\sim Uniform(0,1)$ and $Y=\max[X_1,\ldots,X_n]$, find $E(Y)$.
I don't really have any good starting point. I guess Y is a function of the X's and so I might be able to apply the theorem about the expectation of a function, but I don't know how to deal with this since max is a discrete function.
Can anybody help me please?