Created
June 10, 2011 22:36
-
-
Save BillFoster/1019925 to your computer and use it in GitHub Desktop.
Problem with simplification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: test simplification | |
questions: [ | |
{ | |
name: testing | |
variables: { | |
a: "random(1..5)" | |
b: "random(1..5)" | |
} | |
statement:""" $\simplify{{a}^2-{b}^2}$ and $\simplify[1111110111111111]{{a}^2+4*{a}*{b}}$""" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, this does not load properly due to the second simplify. But it will do if get all rules turned on for the second simplify - but then produces one number - not what I want.
The problem seems to be with the three multiplications in this simplify. Delete one it and it works for any two multiplications. Associativity?