Derive a formula and explain how to generate a random variable with the given distribution: (a) Exponential distribution with pdf f(x) = 3e-3x, x > 0(b) Beta distribution with pdf f(x) = m(1-x)m-1, 0 < x < 1, m > 1
Derive a formula and explain how to generate a random variable with the given distribution: (a) Exponential distribution with pdf f(x) = 3e-3x, x > 0(b) Beta distribution with pdf f(x) = m(1-x)m-1, 0 < x < 1, m > 1