Math.by - Calculation of degree for a square matrix

Calculate degree for a square matrix

Some of number is wrong!!!

The exponent should be natural number!!!

Enter the matrix:

- degree of matrix

Enter degree:

k =

$${}$$.