Code:
matrix A = (1,0,0,0,0\0.6,0,.4,0,0\0,.6,0,.4,0\0,0,.6,0,.4\0,0,0,0,1)
matrix list A
matrix B = A*A
I know how to do A^2. Now I want to do A^20. How should I do this?

Many thanks in advance!