This is more of an "educational" question. :)
Although, I probably would like to do something like this eventually.
So, let's say I got an equation. Could be any kind of equation, as long as it's not ridiculous and also a human who was good at math, could solve it.
Let's say... 0 = (x-1)(x+2)
or... y = (x^2), y = 1/x
Or sine functions, etc. Basically, doing math like we did in school.
the question is, how would I write a computer program to solve this? I know it's possible, because programs like Mathematica, Maple, etc, have been doing this for decades! But I can't find any good documentation on how to make even a simple equation solver.
I don't expect answers that tell me "this is exactly how you do it" because of course such a thing is an entire large program, not just a code snippet.
But just a general overview, or links to some good documents? That would be great! Thanks :)
Especially the kind of data structures and algorithms needed.
Failing that, I'll just have to figure out HOW I SOLVE EQUATIONS, and encode that. But that takes literally months to get right (I've done this sort of thing before, formalising my own thinking process into code, it works but it's slow).