chaudhary19 / Tkinter-Scientific_calc-and-Notepad

Scientific calculator and Notepad using Python GUI -Tkinter
9 stars 12 forks source link

LINEAR CONGRUENCE EQUATIONS #5

Open lakshyasaxena opened 4 years ago

lakshyasaxena commented 4 years ago

Linear Congruence Equation Suppose we have (A X) % m = b (here % stands for modulo operation) In this, we have to find the value of X which satisfies the equation Note : A solution will exist only if -> B is divisible by GCD(A,m) Example : (7 x) % 11 = 4 In this put x = 10