# Question: Use the rejection method with g x 1 0

Use the rejection method with g(x) = 1, 0 < x < 1, to determine an algorithm for simulating a random variable having density function

## Answer to relevant Questions

Twenty workers are to be assigned to 20 different jobs, one to each job. How many different assignments are possible? The following identity is known as Fermat’s combinatorial identity: Give a combinatorial argument (no computations are needed) to establish this identity. Consider the set of numbers 1 through n. How many subsets of size k ...Argue that there are exactly Explain how you could use random numbers to approximate ∫10 k(x) dx, where k(x) is an arbitrary function. If U is uniform on (0, 1), what is E[k(U)]? Let F be the distribution function F(x) = xn 0 < x < 1 (a) Give a method for simulating a random variable having distribution F that uses only a single random number. (b) Let U1, . . . ,Un be independent random numbers. ...Post your question