Let f (x) = (1 + αx)/2, for −1 ≤ x ≤ 1 and −1 ≤ α ≤ 1.
a. Describe an algorithm to generate random variables from this density using the rejection method.
b. Write a computer program to do so, and test it out.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.