Homework Statement
Let Y_1,Y_2 be independent random variable with uniform distribution on the interval [1,2]. Define X=max{Y_1,Y_2}. Find p.d.f., expected value and variance.
Homework EquationsThe Attempt at a Solution
Since $X=\max\{Y_1,Y_2\}$, this tells $Y_1$ and $Y_2$ must at most $x$...