We considered the two examples of the drunkards walk


1. Write a program to compute the probability wof Exercise 24 for given values of xp, and . Study the probability that the gambler will ruin the bank in a game that is only slightly unfavorable, say .49, if the bank has significantly more money than the gambler.

2. We considered the two examples of the Drunkard's Walk corresponding to the cases = 4 and = 5 blocks (see Example 11.13). Verify that in these two examples the expected time to absorption, starting at x, is equal to x(x).

See if you can prove that this is true in general. Hint : Show that if (x) is the expected time to absorption then (0) = (n) = 0 and

(x) = (1/2)(1) + (1/2)(+ 1) + 1

for 0 x n. Show that if f1(x) and f2(x) are two solutions, then their difference g(x) is a solution of the equation

g(x) = (1/2)g(1) + (1/2)g(+ 1).

Also, g(0) = g(n) = 0. Show that it is not possible for g(x) to have a strict maximum or a strict minimum at the point i, where 1 ≤ ≤ 1. Use this to show that g(i) = 0 for all i. This shows that there is at most one solution. Then verify that the function (x) = x(x) is a solution.

Request for Solution File

Ask an Expert for Answer!!
Basic Statistics: We considered the two examples of the drunkards walk
Reference No:- TGS01290495

Expected delivery within 24 Hours