Science, Math, Mathematics, Linear Algebra, Python.
'#1190FF' plotVectors([[1, 3], [2, 1]], [orange, blue]) plt.xlim(0, 5) plt.ylim(0, 5) We will now add these vectors and their weights. This gives: # Weigths of the vectors a = 2 b = 1 # Start and end coordinates of the vectors u = [0,0,1,3] v = [2,6,2,1] plt.quiver([u[0], a*u[0], b*v[0]], [u[1],