Let A = {1, 2, 3, 4, 5} and B = {t, u, v, w, x, y,

Question:

Let A = {1, 2, 3, 4, 5} and B = {t, u, v, w, x, y, z}. (a) If a function f: A → B is randomly generated, what is the probability that it is one-to-one? (b) Write a computer program (or develop an algorithm) to generate random functions f. A → B and have the program print out how many functions it generates until it generates one that is one-to-one.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: