Suppose you have a standard die. Explain how you would generate a random dviate from

1) A Bernoulli distribution with probability of success $\displaystyle p = \frac{1}{3} $

2) A discrete uniform distribution, with $\displaystyle P[X=i] = \frac{1}{4}$ for $\displaystyle i=1,2,3,4$

3) A binomial distribution with $\displaystyle n=20$ and $\displaystyle p=\frac{1}{36} $