Chap 3 Designed Question 11

F = {{0, 1, 0}, {1, 0, 0}, {0, 0, 
            1}};

    Print[MatrixForm[F]];

    Print[F . F . F // MatrixForm];

F = {{0, 0, 1}, {1, 0, 0}, {0, 1, 
            0}};

    Print[MatrixForm[F]];

    Print[F . F . F . F // MatrixForm];