Yes, it's still very alpha. Just an expression parser, really. Attached is the source code. Basically, at the prompt, you type an expression (not an equation):
This is valid input. The division symbol '/' doesn't work properly, but it should be a quick fix. Variables may be any length. Be sure to seperate variables with an asterisk (*). Negative signs are assumed to be attached to a term unless it's followed with a space.Code:5x + 6x^2 + 7^yz - (x+(x+(x+3)^2))
The combine_like_terms() function currently works badly and unpredictably.
Any suggestions, comments, or critisism is appreciated.
- Functions don't work
- To raise something to a power, make sure it is right after the '^' sign.
- If in doubt, surround it with parentheses.
- I hope to support a wide variety of things, like equations, derivatives, integrals, substitution, etc
- The code is very messy. If you need to, ask for clarification.