How to describe uniform random variable with uniform random parameter?

19 Views Asked by At

To preface, I know some basic calculus but not a lot about random variables. But I'm curious about the situation where $X$ is $ U(0,1)$ and $Y$ is $U(0,X)$. Is it possible to get the distribution or expected value of Y, and if so, is there a way to handle random variables with random parameters in general?