(a-b) Let X and Y have the uniform joint pdf:
$$f_{X,Y}(x,y) = \begin{cases}
2, & R: x \ge 0, 0 \le y \le 1-x, \\
0, & \text{elsewhere}.
\end{cases}$$
and Z = max(X, Y).
(a-8pts) Find the pdf $f_Z$ of Z in terms of z.
sol.
(b-2pts) Use the pdf $f_Z$ in (a) to find E(Z).
sol.