Answer:(A) f(x) = x
(B) F(x) = x
(C) K= 2
(D) |T |= 1814400
GIVEN :
• 10 kids named (Frank. George. Homa, Jim. Alex. Dave. Cathy. Emy. Ian. Bobby)
,
• The names are listed in order from left to right.
,
• Let T be the set of all possible ways to line up the kids
(A) The output of f on the following input (Frank, George, Homs, Jim, Alex, Dave, Cathy, Emy, Ian, Bobby):
F(x)=x
• {,This is because the order of the names are still the same as given original order ,}
(B) The output of f on the following input (Emy, Ian, Dave, Homa, Jim, Alex, Bobby, Frank, George, Cathy):
• {,take note that ,Dave ,and ,George, interchanges position,,,}
,
• F(x) = x
• This becomes : ( ,Emy, Ian, ,George, ,Homa, Jim,Alex,Bobby,Frank, ,Dave , ,Cathy,)
(C) This function is a 2 is to 1 , as two values will give same output ,
Meaning that K = 2
(D) Given |S| = 3628800
Therefore; |T |= 1814400