# coding: utf-8
# # Finding an equilibrium distribution using the power method
# In[2]:
import numpy as np
# In[3]:
A = np.array([
[.8, .6, .8],
[.2, .3, 0],
[0, .1, .2]
])
# Now find a starting `x`:
# In[6]:
x = np.random.randn(3)
# Next, compute $A^{100}x$:
# In[25]:
x = A.dot(x)
x
# What does this mean?