This is more of an "educational" question. :)
Although, probably, I would like to do something like this in the end.
So, let's say I got the equation. There can be any equation, if this is not funny, and also a person who knew mathematically could solve it.
Let them say ... 0 = (x-1) (x + 2)
or ... y = (x ^ 2), y = 1 / x
Or sine functions, etc. In principle, mathematics, like in school.
The question is, how can I write a computer program to solve this problem? I know this is possible because programs like Mathematica, Maple, etc., have been doing this for decades! But I cannot find good documentation on how to make even a simple equation solver.
I do not expect answers that will tell me "this is exactly how you do it," because, of course, such a thing is a whole big program, and not just a piece of code.
But just a general overview or links to some good docs? That would be great! Thanks:)
Data structures and algorithms are especially needed.
Otherwise, I just need to find out HOW I SOLVE THE EQUATIONS, and encode it. But it will take literally months to get right (I used to do this by formalizing my own thinking process into code, it works, but it is slow).