Given function f() which returns a random value from a standard normal distribution, is it possible to define a function g(mu, sigma) which returns a random value from a normal distribution with a mean of mu and a standard deviation of sigma?
This is a real-life question from work that I converted to a math queston.
Let $X\sim N(0,1)$ then $\sigma X+\mu\sim N(\mu,\sigma^2)$. In other words, multiply your observed value by sigma then add the mean.