Finding the Inverse Using the "inverse" Command:
First we make a random 5 by 5 matrix to work with:
> A:=matrix(5,5,rand(-10..10));
Here's how to take the inverse, using Maple's "inverse" command:
> Ainv:=inverse(A);
To prove that "Ainv" is indeed the inverse of "A", let's multiply them together.
> evalm(A&*Ainv);
Let's check by multiplying in the other direction as well:
> evalm(Ainv&*A);
The inverse is confirmed.
>