Entering formulas for simplifier
The formulas that my simplifier simplifies, are entered the same way as in my formula plotting system. However, to simplify a formula, it needs to be understood much deeper than when we just want to draw it as a picture. Therefore, there are some important requirements.
- DO use multiplication sign '*' (the STAR) symbol. For the simplifier, xy is NOT the same as x*y or yx. Simplifier thinks that xy is a separate variable. Good example: x*y-y*(x+2). Bad example: xy-y(x+2).
- DO use '*' when multiplying a variable by an expression in parentheses: x*(x+2). Otherwise, my simplifier will think that you are trying to use a function and will become confused.
- Use parentheses liberally to avoid any ambiguity. (x+y)/(x-y) is NOT the same as x+y/x-y.
- Use '*' (STAR) for multiplication. 2*3 is legal, 2x3 will be misunderstood.
- Use '^' (CARET) for power. 2^3 means 2 to degree of 3, or 8.
- Use '/' (FORWARD SLASH) for division
- Only '(' and ')' (parentheses) are allowed for grouping terms. Curly or square brackets are used for other purposes.
Operation priority: + and - have lowest priority, * and / h
x*y-x*(y+2) <-- '*' is used for multiplications a^b*3 <-- means (a to the degree of b) multiplied by 3
xy-yx <-- variable xy and variable yx are different variables y(x-2) <-- simplifier will think that it is function y of x-2.