Question: Develop an acceptance-rejection algorithm for generating a continuous random variable X having pdf fx 1 1 x1 x for 0 , and 0 x 1
Develop an acceptance-rejection algorithm for generating a continuous random variable X having pdf fx 1 1 x1 x for 0 , and 0 x 1 and zero otherwise. For example, a plot of f versus x for 3 and 1 for 0 x 1 is shown in the figure below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
