-
MathType
-
WirisQuizzes
-
LearningLemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Programming
Reading time: 1minCalculus of the inverse of a random matrix
We will create a question asking the students for the inverse of a 3x3 integer matrix where its coefficients are absolutely random. First, we need to write the algorithm of the question.

We can also create the matrix in a more esthetic and compact way as is shown in the example code below.

Notice that, if we want the matrix to be invertible, we need its determinant to be different from zero, which is possible in our two initial proposals. In order to avoid this situation, we need to use the programming resources available in CalcMe as we can see in the following example.

Tip
You can find more detailed information about the different CalcMe programming options here.
Furthermore, we will write the algorithm as we can see in the following example.

Caution
Recall we need to precede the name of a variable with the pound sign # every time we want to call it outside CalcMe. Thus, we must write #sol in the correct answer tab and #A in the statement.