I saw this question in one of my textbooks:
Let U be a random variable having a uniform(0,1) distribution. Describe how to simulate the outcome of the roll of a die using U.
I know that the outcome of rolling a die follows discrete uniform distribution with 6 outcomes, and each outcome has a probability of 1/6. I'm not quite sure how to approach this question. The straightforward solution I thought about was adding 6 unif[0, 1] distributions together to obtain the result of rolling a die. Would that be reasonable? If not, could someone correct me? Thanks!