This can be done by multiplying matrix $A$ by itself. The multiplication of two matrices is done element by element, where each element in the resulting matrix is the sum of the products of elements in the corresponding row and column of the two matrices. So, we
Show more…