Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
![](http://ideas.cs.uu.nl/images/external.png)
360+5*(x-1) == 60*x+6*(-2*x-2)
⇒ algebra.equations.linear.balance.distribute360+5*x-5 == 60*x-12*x-12
⇒ algebra.equations.linear.balance.collect355+5*x == 48*x-12
⇒ algebra.equations.linear.balance.var-right-minus, term=5*x355 == 43*x-12
⇒ algebra.equations.linear.balance.con-left-plus, term=12367 == 43*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=43367/43 == x
⇒ algebra.equations.linear.flipx == 367/43