Around the Solution of a Puzzle (pdf)
In that recapitulative document, we sum up the following elements:
- How to rewrite a simple puzzle as a system of two linear equations in two real variables.
- How to solve the system obtained with a method of elimination and substitution.
- How to transform the linear system into a matrix equation.
- How to solve the matrix equation obtained directly with the inversion of a matrix.
- How to set and solve the matrix equation in Python, with the packages ‘numpy’ and ‘numpy.linalg’.
Download