subject

Variation of the "Drunken Sailor Problem"There is a famous probability problem that states: If a drunken sailor leavesthe pub and had too much to drink so that they do not know how to get back, could they eventually get back with a nite amount of random steps, or is itpossible that they'll get lost forever? (the answer ends up being that they'llalways nd their way back if the choice is always random!)This requires a bit more than what we have right now, but here is a variation. Instead of a grid, like the original problem, we'll think of a long street. We cantrack the sailor's possible positions at any point in time using matrix algebra. Some denitions before we can begin:Remember that the diagonal of a (square) matrix are all entries ai;i where therow coordinate is equal to the column coordinate. The super-diagonal are all the entries one position to the right of the diagonal.(Alternatively, all entries one position above the diagonal)The sub-diagonal are all entries one position to the left of the of the diagonal.(Alternatively all entries one position below the diagonal)a) For 2x2 and 3x3 matrices, write the matrices that correspond to 1's on thesuper-diagonal (zeroes everywhere else). Do the same for the sub-diagonalb) Write two equivalent subscript notations for the sub and super diagonal ofa matrix (e. g. ai;i is the subscript notation for the diagonal)c) The matrix that has 1's on the super-diagonal and sub-diagonal is an ad-jacency matrix (symmetric, 0's on diagonal and only 1's as entries). Draw orexplain what the graph associated looks like in any dimension. d) If this n n adjacency matrix is A, calculate A2.e) Find the diagonal for An if n is odd (Hint: It is easier to explain via thegraph!)f) Interpret what ai;j means in the drunken sailor problem for any power of A

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
You know the right answer?
Variation of the "Drunken Sailor Problem"There is a famous probability problem that states: If a dru...
Questions
question
Mathematics, 16.12.2020 14:00
question
English, 16.12.2020 14:00
question
Arts, 16.12.2020 14:00
question
English, 16.12.2020 14:00
question
Chemistry, 16.12.2020 14:00
Questions on the website: 13722362