Professional Documents
Culture Documents
M ASTER ICT
1
2 M ARKOV CHAIN MODELING
Now, assume that the probability of moving to the right slot is p and the left slot is 1 ° p.
Suppose that the moving probabilities of all slots are homogeneous which means p(sl ot i ) =
p(sl ot j ) wi t h i 6= j .
• Second, use Monte Carlo method with this simulation, meaning that run your code
100.000 times to observe the output space.
• Last, compare the results between theory and simulation. Plot them with different
values of p.