Define a matrix

Define a matrix   An ordered array of numbers such as   Is called a matrix. The numbers are called elements of the matrix. Matrices  (the plural of matrix) are…