Answers for "solving linear equation using numpy"

1

solving linear equation using numpy

import numpy as np

a = np.array([[6,2,-5], [3,3,-2], [7,5,-3]])
b = np.array([13,13,26])
x = np.linalg.solve(a, b)

print(x)
Posted by: Guest on August-31-2020
0

solving linear equation using numpy

[2. 3. 1.]
Posted by: Guest on August-31-2020

Code answers related to "solving linear equation using numpy"

Python Answers by Framework

Browse Popular Code Answers by Language