The inv command finds the inverse of a matrix.
Note that 1/A is another way to find the inverse of a matrix.
Example. Input:
or:
Output: