1.

Write a Program to solve the given equation assuming that a,b,c,m,n,o are constants:

Answer»

ax + by = cmx + ny = o

By solving the equation, we GET:

a, B, c, m, N, o = 5, 9, 4, 7, 9, 4temp = a*n - b*mif n != 0: X = (c*n - b*o) / temp y = (a*o - m*c) / temp print(str(x), str(y))


Discussion

No Comment Found