Let f (x) = 6x 2(1 – x)2, for -1 = x = 1. a. Describe an algorithm to generate random variables…

Let f (x) = 6x 2(1 − x)2, for −1 ≤ x ≤ 1.

a. Describe an algorithm to generate random variables from this density using the rejection method. In what proportion of the trials will the acceptance step be taken?

b. Write a computer program to do so, and test it out.

 

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer