A = matrix ([[3,2,10], [6,4,x]] ) # This is coefficient matrix augmented with the solution matrix

print A
if A[0][0] / A[1][0] == A[0][1]/ A[1][1]:
    x=A[0][2]/(A[0][1]/A[1][1])
    
print x

Strang-1.3-1-U (last edited 2010-12-18 10:11:03 by AmitTewari)