Using Excel You must answer the following question (obviously leaving a trace of the calculations made to answer it): If we start at site 0 (therefore p0=1 and all the others pi=0), after how many steps n the probabilities pin are they all close to the asymptotic probabilities πi at most 0.001, ie |pin-πi|≤ 0.001? To answer this question, follow the following steps (see example in image). To be efficient, consider using incrementing, cell calling, etc. (a) On line 2, enter a step counter starting at step 0. (b) On lines 4 and following, indicate the vectors of probabilities pin, so step 0 corresponds to the initial vector, then in the next column, in the column identified by step 1, the vector of probabilities after a step , etc. (c) On lines 15 and following, check if the distance between pin and πi is smaller; in the step 0 column, line 15, indicate: "=ABS(A4-cell containing π0)<=0.001". Then increment (blocking the addresses to be) to check the distances between each pin. Finally, identify, by giving a color to the corresponding column, the first step from which all the distances between the pi^n and πi are all less than or equal to 0.001. π= 0.113821 0.043360 0.043360 0.048780 0.140921 0.157182 0.078591 0.086721 0.195122 0.092141
Using Excel
You must answer the following question (obviously leaving a trace of the calculations made to answer it): If we start at site 0 (therefore p0=1 and all the others pi=0), after how many steps n the probabilities pin are they all close to the asymptotic probabilities πi at most 0.001, ie |pin-πi|≤ 0.001? To answer this question, follow the following steps (see example in image). To be efficient, consider using incrementing, cell calling, etc.
(a) On line 2, enter a step counter starting at step 0.
(b) On lines 4 and following, indicate the vectors of probabilities pin, so step 0 corresponds to the initial vector, then in the next column, in the column identified by step 1, the vector of probabilities after a step , etc.
(c) On lines 15 and following, check if the distance between pin and πi is smaller; in the step 0 column, line 15, indicate: "=ABS(A4-cell containing π0)<=0.001". Then increment (blocking the addresses to be) to check the distances between each pin. Finally, identify, by giving a color to the corresponding column, the first step from which all the distances between the pi^n and πi are all less than or equal to 0.001.
π=
0.113821 |
0.043360 |
0.043360 |
0.048780 |
0.140921 |
0.157182 |
0.078591 |
0.086721 |
0.195122 |
0.092141 |
Step by step
Solved in 3 steps