import numpy as np
from linsolve_gauss_elim_v2 import *

# Solve Ax = b

A = np.array([
    [8.0, 2.0, -2.0],
    [10.0, 2.0, 4.0],
    [12.0, 2.0, 2.0]
])

b = np.array([
    [-2.0],
    [4.0],
    [6.0]
])

x = linsolve_gauss_elim(A, b)

print(np.matmul(A,x))
#x = linsolve_gauss_elim(A, b)
#print("\nSolusi x = ")

#print(x)
0f63e09c560ed78c0bc3b35fcf844f6ab4cf1212
<mask token>

<mask token>
print(np.matmul(A, x))

<mask token>
A = np.array([[8.0, 2.0, -2.0], [10.0, 2.0, 4.0], [12.0, 2.0, 2.0]])
b = np.array([[-2.0], [4.0], [6.0]])
x = linsolve_gauss_elim(A, b)
print(np.matmul(A, x))

import numpy as np
from linsolve_gauss_elim_v2 import *
A = np.array([[8.0, 2.0, -2.0], [10.0, 2.0, 4.0], [12.0, 2.0, 2.0]])
b = np.array([[-2.0], [4.0], [6.0]])
x = linsolve_gauss_elim(A, b)
print(np.matmul(A, x))

import numpy as np
from linsolve_gauss_elim_v2 import *

# Solve Ax = b

A = np.array([
    [8.0, 2.0, -2.0],
    [10.0, 2.0, 4.0],
    [12.0, 2.0, 2.0]
])

b = np.array([
    [-2.0],
    [4.0],
    [6.0]
])

x = linsolve_gauss_elim(A, b)

print(np.matmul(A,x))
#x = linsolve_gauss_elim(A, b)
#print("\nSolusi x = ")

#print(x)