The matrix raised to the given power, row by row.
A^2 computed for the 3x3 matrix.
Next stepTo solve a system A^n x = b, use the result matrix as the coefficient matrix and apply Gaussian elimination.