1. (15 points) Write an algorithm that will generate a random variable X with density f(x) = {x?e^*, x > 0 using rejecti
Posted: Fri Nov 26, 2021 8:27 am
1. (15 points) Write an algorithm that will generate a random variable X with density f(x) = {x?e^*, x > 0 using rejection technique. Hint: Find c that maximizes f(x)/g(x) and use Y - Exponential(1/3).