Complete the following:
Q: Let F(t) = 1- e ^(- lamda*t)
a) Show how to generate a random variable from the exponential distribution function shown above. Show derivation of the equation.
b) Generate 10000 random variables X and Y with cumulative distribution F(t); do this twice using lambda =2,3 (so 2 columns of 10000 numbers each).
c) Using the equation from a) and the data from b) construct a graph(s) that confirms lambda is the values used (ie 2 and 3)