Commit 69d636f8 authored by KANTAPONG SONG-NGAM's avatar KANTAPONG SONG-NGAM

Quiz1

parent 81e26324
......@@ -5,7 +5,8 @@ def solve(A,b):
A = np.array(A,float)
b = np.array(b,float)
x=lg.solve(A,b)
print(x)
return x
A = [[4, -2, 1],[-2, 4, -2],[1, -2, 4]]
b = [11,-16,17]
solve(A,b)
\ No newline at end of file
print (solve(A,b))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment