Current location - Training Enrollment Network - Mathematics courses - Write an algorithm to solve the equation {3x-2y=-2 7x-y= 18}? (High School Mathematics)
Write an algorithm to solve the equation {3x-2y=-2 7x-y= 18}? (High School Mathematics)
The common method to solve binary linear equations is to add or subtract elimination elements into elimination elements.

This problem can be solved by addition, subtraction and elimination:

3x-2y=-2 ——①

7x-y= 18——②

②*2-①: 1 1x=38 solution: x = 38/1.

Substituting x=38/ 1 1 into equation 2 gives y = 68/1.