Let U have a uniform distribution on the interval [0, 1]. Then observed values having this distribution can be obtained from a computer's random number generator.
a. Show that X has an exponential distribution with parameter λ
b. How would you use part (a) and a random number generator to obtain observed values from an exponential distribution with parameter λ= 10?