Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
![](http://ideas.cs.uu.nl/images/external.png)
-24*x+3*(3*x-6) == 5*x-13
⇒ algebra.equations.linear.balance.distribute-24*x+9*x-18 == 5*x-13
⇒ algebra.equations.linear.balance.collect-15*x-18 == 5*x-13
⇒ algebra.equations.linear.balance.var-right-plus, term=15*x-18 == 20*x-13
⇒ algebra.equations.linear.balance.con-left-plus, term=13-5 == 20*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=20-1/4 == x
⇒ algebra.equations.linear.flipx == -1/4