Let X∼Uniform(0,1)X \sim \text{Uniform}(0, 1)X∼Uniform(0,1). Find the expected value of the random variable Y=max(X,1−X)Y = \max(X, 1 - X)Y=max(X,1−X).
34\frac{3}{4}43
23\frac{2}{3}32
58\frac{5}{8}85
12\frac{1}{2}21