↧
Answer by jason for How to create a function to solve two unknowns
This is a linear Diophantine equation. Its solution is very well known. It can be rewritten in the form ex + fy = d. Find g = gcd(e, f). If d = g then there are infinitely many integral solutions, and...
View ArticleHow to create a function to solve two unknowns
Trying to figure out where to start with this. The equation contains two unknowns and the solution for x or y is always a positive number. Given a = 123 and b = 55 and c = 5. In this case x = 31 and y...
View Article