I was asked a probability question:
Given three numbers i.i.d as $\text{uniform}(0,2)$, what is the probability of the median greater than $1.5$?
My hunch is that each number has $P(X > 1.5) = (2-1.5)/(2-0) = 0.25$, the probability of $\text{median}> 1.5$ is equivalent to "at least two of the three numbers are greater than 1.5", which can be derived as the complement of 'exactly one number is greater than 1.5 or none of them is greater than 1.5'. This could be formulated as a binomial distribution:
$1 - C(\text{choose 1 from 3})\times(0.25)\times(1-0.25)^2 - C(\text{choose 0 from 3})\times(1-0.25)^3$
Is this the correct approach?