We apply the Gauss-Jordan method to calculate the inverse of a given matrix.