Question: 3. A password generator works by arbitrarily stringing together words from the following dictionary: apple, pear, orange, banana. More precisely, the password generator starts with

 3. A password generator works by arbitrarily stringing together words from

3. A password generator works by arbitrarily stringing together words from the following dictionary: apple, pear, orange, banana. More precisely, the password generator starts with the empty string, and repeats the following one or more times: it selects a random word from the dictionary and adds it to the left of the string it already has. No spaces or other separators are inserted between words For example, bananabananapear is one of the passwords generated. Let an be the number of possible outputs of this password generator with length n (a) Find the values an for n-0,1, 2,3 and explain. (b) Evaluate a4, a5, ae, a7 and explain. c) Explain as1, ag 2, a10-5, a11 4 (d) For n 2 10, an satisfies the recurrence Explain the recurrence relation. Is there a danger of double counting? (e) Find the characteristic equation of the recurrence relation. (f) Use a CAS like Wolfram Alpha to find the characteristic values. All real coefficients may be rounded to 5 digits. (Some solutions are real, some are imaginary.) (g) When some of the characteristic values are complex, then the gen eral solution of the recurrence is also complex, i.e. the coefficients are generally complex numbers. However, if the sequence is all real- valued, then the coefficients associated with the real characteristic values are also real, and the coefficients associated with the complex conjugate imaginary characteristic values are complex conjugates of each other. This rule is illustrated by Webwork Unit 15 Linear Re- currence, Problem 9 Use this information and the rounded characteristic values from the previous part to give an approximation of the general solution of the recurrence relation. Your answer must contain exactly 6 arbitrary real coefficients A, B.C, D. E,F

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!