Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Develop an acceptance-rejection technique for generating a geometric random variable, X, with parameter p on the range {0, 1, 2, . [Hint:
Develop an acceptance-rejection technique for generating a geometric random variable, X, with parameter p on the range {0, 1, 2, …}. [Hint: X can be thought of as the number of trials before the first success occurs in a sequence of independent Bernoulli trials.]