Learn how to solve linear algebra equation using numpy inversion and dot functions
'''
ax + bx + cx = B
2x + 1x + 2x = 8
3x + 2x + 1x = 3
0x + 1x + 1x = 4
x(a+b+c) = B
(a+b+c) = B/A
'''
import numpy as np
A = np.array([[2,1,2],
[3,2,1],
[0,1,1]])
B = np.array([8,3,4])
https://github.com/Python-basics/Tuto...
twitter: @python_basics
#pythonprogramming #pythonbasics #pythonforever