In modular arithmetic, the method of successive substitution is a method of solving problems of simultaneous congruences by using the definition of the congruence equation.
For example, consider the simple set of simultaneous congruences
x ≡ 3 (mod 4)
x ≡ 5 (mod 6)
Now, for x ≡ 3 (mod 4) to be true, x=3+4j for some integer j. Substitute this in the second equation
3+4j ≡ 5 (mod 6)
since we are looking for a solution to both equations.
Subtract 3 from both sides (this is permitted in modular arithmetic)
Understanding descriptors is a key to a deep understanding of Python because they are the basis for many features including functions, methods, properties, class methods, static methods, and reference to super classes.
method that returns the iterator object itself so every iterator is also iterable and may be used in most places where other iterables are accepted.
There are the local, global and builtin namespaces as well as nested namespaces in objects (in methods).
A common technique is the substitutionmethod: Isolate the variable in one of the equations, and substitute that expression where that variable appears in another equation.
A common technique is the substitutionmethod: try to solve one of the equations for one of the variables and substitute the result into the other equations, thereby reducing the number of equations and the number of variables by 1.
Another method is by plotting the equations on a graph, because the two equations represent straight lines in coordinate geometry and the coordinates of their point of intersection are the values of x and y that are true for both of them.