MATH 311 (Discreet Math Questions)

Stuck with a Question?

Get it solved from our top experts within 8 hrs!

Ask Your Question Now!

I have attached the file where there are questions attached. There are a total of 20 questions. And I need these answers by 8/27/2016. Thank You.Here are some sample questions:1.    How many ways are there to rearrange the letters in FUNCTION?2.    How many ways are there to rearrange the letters in INANENESS?3.    Refer to Example 4.40. An urn contains nine red balls, nine white balls, and nine blue balls, and sample of four balls is drawn at random without replacement.Compute the probability that all of the balls in the sample are the same color. (Round your answer to four decimal places.)4.    In a suitable font, the letters A, H, I, M, O, T, U, V, W, X, Y are all mirror images of themselves. A string made from these letters will be a mirror image of itself if it reads the same backward as forward: for example, MOM, YUMMUY, MOTHTOM. If a four-letter string in these letters is chosen at random, what is the probability that this string is a mirror image of itself? (Round your answer to four decimal places.)5.    An urn contains six red balls, five white balls, and four black balls. Three balls are drawn from the urn at random without replacement. For each red ball drawn, you win $4, and for each black ball drawn, you lose $6. Let X represent your net winnings.Compute E(X), your expected net winnings.E(X) =5.      Write a recursive function in pseudocode that computes the value of the following recurrence relation:H(n) =1if n = 1H(n − 1) + 6n − 6if n > 1.Give descriptive preconditions and postconditions.preconditionn       [removed]postconditionH(n) =6.      Consider the following pseudocode function.function W(n  Z)ifn > 0thenif n is odd thenreturn 2nelsereturn n + 1elsereturn n − 1Compute the values returned by the following function calls.(a)    W(12) = [removed](b)    W(−19) = [removed](c)    W(7) = [removed]