If I only have a random number generator rand which generates a random number from a uniform distribution in [0,1], would it be possible to use some smart mathematical transformation to:
- generate a value from a normal distribution with mean = 0 and variance = 1
- generate a value from a poisson distribution with mean = 60
Thanks!


Write $$ F(x) = P(X \leq x) $$ for the cumulative distribution function of the random variable you are trying to simulate. This is increasing so invertible. Take $Y = F^{-1}(U)$ where $U$ is your uniform random variable. Then $$ P(Y \leq y)= P(F_X^{-1}(U) \leq y) = P(U \leq F_X(y)) = F_X(y) = P(X \leq y) $$ So the distribution of $Y$ is the same as that of $X$.