Last active
January 2, 2017 13:40
-
-
Save SiestaMadokaist/2f3674e7ac53c6b73abfcb906557ef92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# x - 2.y + z = 9 | |
# 2.x - y = 4 | |
# y + z = 12 | |
[x] [1, -2, 1] [9] | |
[y] * [2, -1, 0] = [4] | |
[z] [0, 1, 1] [12] | |
# if we want to find out the x, y, and z, we can just | |
[x] [9] | |
[y] = M.inverse * [4] | |
[z] [12] | |
# where M is the matrix (3 x 3) defined above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment