Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
![](http://ideas.cs.uu.nl/images/external.png)
1/2*(7-2/3*x) == 2+1/9*x
⇒ algebra.equations.linear.balance.remove-div, factor=189*(7-2/3*x) == 36+2*x
⇒ algebra.equations.linear.balance.distribute63-6*x == 36+2*x
⇒ algebra.equations.linear.balance.var-right-plus, term=6*x63 == 36+8*x
⇒ algebra.equations.linear.balance.con-left-minus, term=3627 == 8*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=827/8 == x
⇒ algebra.equations.linear.flipx == 27/8